date stringlengths 10 10 | nb_tokens int64 60 629k | text_size int64 234 1.02M | content stringlengths 234 1.02M |
|---|---|---|---|
2018/03/19 | 2,636 | 10,343 | <issue_start>username_0: I'm trying to install react-native-navigation(wix) package, I'm following the steps on android(<https://wix.github.io/react-native-navigation/#/installation-android>) but in android studio the build fails with the message. Gradle 4.1( I don't know if this is related)
```
Could not resolve proj... |
2018/03/19 | 579 | 2,181 | <issue_start>username_0: I want to programmatically `up` a `docker-compose.yml` file in `--detach` mode then wait and block the application until all images of the compose file get up as `Containers` so that I can run my integration tests.
Notice that `docker-compose images`, and `docker-compose inspect` are useless s... |
2018/03/19 | 326 | 1,138 | <issue_start>username_0: i enter a command for add docker's official GPG key but i don't have OK in output.
The command is :
```
$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
```<issue_comment>username_1: I realize this is an old question, but hope this helps someone.
I had the same... |
2018/03/19 | 498 | 1,873 | <issue_start>username_0: I have a string displayed in a page and I want to store this string in a variable so I can use this variable for a check further in the test process.
Here is what it looks like:
```
let storedValue: string;
element(by.id('myElement')).getText().then((elementValue: string) => {
s... |
2018/03/19 | 2,593 | 7,658 | <issue_start>username_0: I need to generate result for time slots between dates and for time
```
select scheduleId,startDate,endDate,startTime,endTime,weekdayMask,
(CASE WHEN [weekdayMask] | 0x01 = [weekdayMask] THEN 1 ELSE 0 END) AS MONDAY,
(CASE WHEN [weekdayMask] | 0x02 = [weekdayMask] THEN 1 ELSE 0 ... |
2018/03/19 | 1,112 | 4,098 | <issue_start>username_0: I cant seem to locate an answer to this anywhere through searches...
I am trying to iterate through a list on a webpage using vba and then use the data in excel.
Accessing the webpage is fine, locating the correct div is fine but I cannot find how to iterate through the list.
What I am tryin... |
2018/03/19 | 785 | 3,055 | <issue_start>username_0: `Xamarin.Forms.Device.StartTimer` is a convenient method to repeatedly call some code in a certain interval. This is similar to JavaScript's `SetInverval()` method. JavaScript also has a method to set a single delay, called `SetTimeout()` - it delays a certain amount of time, then calls the cal... |
2018/03/19 | 1,032 | 3,830 | <issue_start>username_0: I have a simple web application in Angular v5. This is a purely client-side application in the meaning of it doesn't use any server-side (this is a basic calculator application that load data from JSON file with some measurements and display to the user some analysis according to that JSON). ... |
2018/03/19 | 2,285 | 6,036 | <issue_start>username_0: I am trying to create a 13 period calendar in mssql but I am a bit stuck. I am not sure if my approach is the best way to achieve this. I have my base script which can be seen below:
```
Set DateFirst 1
Declare @Date1 date = '20180101' --startdate should always be start of
financial year
De... |
2018/03/19 | 1,553 | 5,198 | <issue_start>username_0: I am reindexing my index data from ES 5.0(parent-child) to ES 6.2(Join type)
Data in index ES 5.0 is stored as parent-child documents in separate types and for reindex i have created new index/mapping based on 6.2 in my new cluster.
The parent documents flawlessly reindex to new index but the... |
2018/03/19 | 848 | 3,039 | <issue_start>username_0: I am trying to solve a challenge on a coding site. The problem is about int matrixes. I am using c# language.I need to create a function that takes a parameter as `int[][]` (integer matrix) and also return `int[][]` (another integer matrix). Starting of problem (the empty function given to me) ... |
2018/03/19 | 1,961 | 7,147 | <issue_start>username_0: This is a follow-up question to this [one](https://stackoverflow.com/a/48850849/3002584):
As explained in the above-linked answer:
>
> When you provide an *expression* for a binding value rather than just a
> reference to an observable, KO effectively wraps that expression in a
> computed ... |
2018/03/19 | 350 | 1,444 | <issue_start>username_0: I'm taking about preparing by google store different versions of apk with resources adequate for our phone DPI/size. It didn't when I started programming on Android 4 years ago. Has anything changed? I can see that my apk downloaded from Google Play has smaller size than apk uploaded to the sto... |
2018/03/19 | 1,079 | 2,921 | <issue_start>username_0: ```
data = [{"map_name": "PHX7260.AE5020003.9"},
{"map_name": "PHX7260.AE5020003.10"},
{"map_name": "PHX7260.AE5020003.1"}]
```
I want to sort this data in descending order alphabetically and numerically both.
I tried the below but it doesn't work on array of objects.
```
... |
2018/03/19 | 994 | 3,569 | <issue_start>username_0: When I am checking the naming rules for my code. If i got variable or function name have more letters than allowed ERROR. I count the total character by manually or have to copy paste into Notpad++. Is there is any options to find the number of selected characters in eclipse.<issue_comment>user... |
2018/03/19 | 1,904 | 5,061 | <issue_start>username_0: I keep on getting this error message:
>
> A required class was missing while executing org.eclipse.jetty:jetty-maven-plugin:9.2.3.v20140905:run: javax/ws/rs/client/RxInvokerProvider
>
>
>
I have tried to remove the maven repo so that it is forced to download the library again, but with no... |
2018/03/19 | 869 | 2,527 | <issue_start>username_0: `stringi = "fuunnynsdfdn dfdfomdfdnd dfdfnntr ndfdf thatnfdfdfdfd"`
I was able to make a regEx to DYNAMICALLY find every last occurrence of a character X in every word: (I call it dynamically because I only have to change ONE spot)
`(n)(?!(\w+?)?\1(\w+?)?)` gives
```
"fuunnynsdfdn dfdfomdfdn... |
2018/03/19 | 565 | 1,686 | <issue_start>username_0: I have the following jQuery code:
```
$(".dtp").datetimepicker({
format: 'Y-M-D hh:mm',
minDate: new Date()
});
```
I am using `datetimepicker` from Bootstrap and I'm trying to disable some days, based on information in my database.
For example all Mondays and Saturdays could be dis... |
2018/03/19 | 1,336 | 3,789 | <issue_start>username_0: I'm currently working on code that reads in a sequence of integers in the form of m1, n1, m2, n2, until I input a zero, and it prints the sum of m \* n. Here is what I have so far:
```
#include
#include
#include
int main()
{
int m, n, i, sum = 0;
bool plus = true;
scanf("%d", &m);
scanf... |
2018/03/19 | 2,215 | 8,857 | <issue_start>username_0: I am using button with style="`?android:attr/buttonBarNeutralButtonStyle`"
```
```
I would like to get its color, so I can use it with other view elements as well.
Currently I am reading its color value like this:
```
int color;
View button = findViewById(R.id.passwordSigninButton);
if ((... |
2018/03/19 | 817 | 2,571 | <issue_start>username_0: how to remove last single line available in file using perl.
I have my data like below.
```
"A",1,-2,-1,-4,
"B",3,-5,-2.-5,
```
---
how to remove the last line... I am summing all the numbers but receiving a null value at the end.
Tried using chomp but did not work.
Here is the code curr... |
2018/03/19 | 369 | 1,225 | <issue_start>username_0: I have an ASP.NET Core 2.0 Razor Pages project. I am using Visual Studio 2017.
I have added one of our in-house assemblies to the project (it contains common definitions, types and functions etc). The project compiles but when I attempt to run it I get the following error.
[![enter image des... |
2018/03/19 | 351 | 1,323 | <issue_start>username_0: I'm currently using a simple method to test my textfield text like :
```
extension String {
func test() -> Bool {
return true
}
}
```
Now if try my function on a concrete String, all is ok
`let result = myString.test() //result is a Bool`
But if I execute it on an Optional Stri... |
2018/03/19 | 741 | 2,401 | <issue_start>username_0: I'm trying to do a count to see how many fields in column `value` are > 10:
```
SELECT
COUNT(CASE WHEN t.value > 10)
THEN 1
ELSE NULL
END
FROM table t
WHERE t.DATE = '2017-01-01'
```
However, the column has a few custom entries like `+15` or `>14.0`, so I added the following... |
2018/03/19 | 472 | 1,754 | <issue_start>username_0: Is there a way to reopen a merge request within Gitlab once it's been merged like there is with an issue?
In this example a merge request was merged before a code review and has been reverted, but it would be great to reopen the original merge request to keep the original history/discussions<i... |
2018/03/19 | 785 | 3,239 | <issue_start>username_0: I have a `DialogFragment` on an `Activity` class. This fragment has an `EditText` field and all I want to do is check if the field has less than 3 digits on the input then show a toast message. App keeps crashing and I can't even see what exception it is throwing me in the LogCat/Stacktrace.
... |
2018/03/19 | 464 | 1,746 | <issue_start>username_0: I use JMeter WebDriver Sampler (JMeter v4.0) for Chrome Driver (where I specify the path to chromedriver in `jp@gc - Chrome Driver Config`), and it works.
Now I want to try with latest Firefox Browser (FF Quantum v59.0), but it doesn't work. FF browser is opened but it doesn't go further, ex `... |
2018/03/19 | 931 | 2,809 | <issue_start>username_0: I have this:
```css
span {
padding: 10px;
display: inline;
}
[title]:hover::before {
background: #333;
top: 20%;
background: rgba(0,0,0,.8);
border-radius: 5px;
color: #fff;
content: attr(title);
padding: 5px 15px;
position: absolute;
z... |
2018/03/19 | 815 | 3,163 | <issue_start>username_0: ```
var password= document.forms["PestControl"]["password"].value;
var confirmpassword= document.forms["PestControl"]["confirmpassword"].value;
function validateForm() {
//alert('inside');
if(!validatePassword()){
alert("password did not matched or blank password fields");
document.form... |
2018/03/19 | 1,006 | 3,382 | <issue_start>username_0: Following the example answer found at [ASP.NET/HTML: HTML button's onClick property inside ASP.NET (.cs)](https://stackoverflow.com/questions/3167246/asp-net-html-html-buttons-onclick-property-inside-asp-net-cs)
The button `"Click Me!"` works if I add the button html normally on the page. If I... |
2018/03/19 | 628 | 2,307 | <issue_start>username_0: I am trying to to debug the react native app, If I don't try to debug JS remotely then everything is fine, but when I try to debug JS remotely I do get this error.
[](https://i.stack.imgur.com/mWXL4.png)<issue_comment>username... |
2018/03/19 | 3,366 | 6,770 | <issue_start>username_0: I want to convert a JSON (not JSON-LD) array to RDF in Java. I have seen similar posts to the forum but not exact answer. The JSON array contains objects and arrays, something like:
```
{
"results": [
{
"record_id": "3d87f4df-f17e-4632-9449",
"demographics": { "gende... |
2018/03/19 | 956 | 2,662 | <issue_start>username_0: I'm using the find feature of Visual Studio with regular expressions to find if's in my code where there's no following curly braces. I came up with `if\ .*\).*\n.*{` to find if's where there are curly braces and it works. So similarly, I tried to use `if\ .*\).*\n.*[^{]`, but it just returns a... |
2018/03/19 | 1,785 | 6,590 | <issue_start>username_0: I'm developing an app which has two type of user (Admin, Normal User). Color of UITabBar and NavigationBar changes according to user type.
How I declare colors;
```
struct Color{
struct NavigationBar{
static let tintColor = UIColor(red:0.01, green:0.54, blue:0.16, alpha:1.0)
static l... |
2018/03/19 | 339 | 1,087 | <issue_start>username_0: In this table we see different transaction in same date some of Transaction Dr and some transaction Cr. I need Cr - Dr as Transaction Amount per date.
Please see screenshot [1st Table](https://i.stack.imgur.com/4GG1w.png)
[](h... |
2018/03/19 | 275 | 1,068 | <issue_start>username_0: I'm curious regarding best practices. Let's assume I need to construct an object that further is not supposed to be modified:
```
void fn() {
const std::string& ref_to_const = "one";
...
const std::string const_object = "two";
...
}
```
The lifespan of both temporary obje... |
2018/03/19 | 915 | 3,673 | <issue_start>username_0: We have fact table(30 columns) stored in parquet files on S3 and also created table on this files and cache it afterwards. Table is created using this code snippet:
```
val factTraffic = spark.read.parquet(factTrafficData)
factTraffic.write.mode(SaveMode.Overwrite).saveAsTable("f_traffic")
%s... |
2018/03/19 | 546 | 1,542 | <issue_start>username_0: I have a certificate `mycert.pem` . I got the **public key** of the certificate by command:
```
openssl x509 -pubkey -noout -in mycert.pem > pubkey.pem
```
How can I get the SHA256 hash of the public key?<issue_comment>username_1: The openssl `-pubkey` outputs the key in PEM format (even if... |
2018/03/19 | 1,742 | 5,277 | <issue_start>username_0: I have a sales pandas dataframe, where each row represents a company name, and there are four columns showing the current, minimum, maximum, and average sales amount over the last five years.
I wonder if there's a way to plot the min, max, avg, current horizontal bars inside the dataframe.
Ju... |
2018/03/19 | 1,426 | 3,309 | <issue_start>username_0: I have a `div` block that simulates a small spinner, everything works fine however with the `css` configurations that I have it is positioned in the upper right wing, I tried to center it but when I see it from a mobile device it moves from place .. how could to center it without it changing po... |
2018/03/19 | 985 | 3,115 | <issue_start>username_0: My Goal is to **generate** log file on each day but of `MaxFileSize=100KB`
So I used DailyRollingFileAppender since I am using log4j 2.2 version
Date is working fine and when I used MaxFileSize it didnt worked and new file was not created based on filesize still date is working.
**Problem**:... |
2018/03/19 | 1,449 | 5,329 | <issue_start>username_0: i am using the `atlassian-connect-express` toolkit for creating [Atlassian Connect based Add-ons with Node.js.](https://bitbucket.org/atlassian/atlassian-connect-express?_ga=2.34680361.944228291.1521436616-567879398.1514966208)
It provides Automatic JWT authentication of inbound requests as we... |
2018/03/19 | 884 | 2,248 | <issue_start>username_0: My builds fils with the folloewing error:
```
There is an error in XML document (1, 1).
```
>
> TFS2017 update 1 Agent version 2.127.0
>
>
>
We have a strange problem on our build server:
```
2018-03-19T13:23:41.9444545Z ##[section]Starting: Get Sources
2018-03-19T13:23:41.9962547Z Pre... |
2018/03/19 | 462 | 1,810 | <issue_start>username_0: I am trying to activate an iOS Notification Center timer and simultaneously send a user to a web URL (in actuality a survey). I can't figure out how to get the two actions from a single button. Here is the code I have that currently uses two separate buttons:
```
@IBAction func timer(_ sender:... |
2018/03/19 | 2,018 | 7,073 | <issue_start>username_0: Well, `Hospital` is the class which has vector of patients.
`FemaleIn`, `FemaleOut`, `MaleIn`, `MaleOut` are derived classes from patients(Base class). Those classes have `toString` function(method). What I am trying to do is, in `display` method in `Hospital` class, I just want to display onl... |
2018/03/19 | 319 | 1,125 | <issue_start>username_0: Is it possible to write a SQL query that does the following:
```
Select * From Table1
```
if there are results, return them. Otherwise, use an alternative query and return it's results:
Select \* From Table2
I came ups with the following, but it does not seem to work:
```
IF EXISTS(sele... |
2018/03/19 | 383 | 1,314 | <issue_start>username_0: I have a list with the months of the year,
i have a second list that is empty called sales
how would i go about asking a user to enter the slate for each month.
ie.
```
Jan>>>user enters sales
Feb>>>user enters sales
```
etc.
the amounts that the user enters should be added to the sales li... |
2018/03/19 | 403 | 1,368 | <issue_start>username_0: I want to create a clustered columnstore index in a table using the following query:
```
CREATE CLUSTERED COLUMNSTORE INDEX cci
ON agl_20180319_bck
```
And I am getting this error:
>
> Msg 35343, Level 16, State 1, Line 6
>
> The statement failed. Column 'memberOf' has a data type that ... |
2018/03/19 | 427 | 1,413 | <issue_start>username_0: I would like to read and store a `BMP` file in a `QuadTree`:
An example of the `BMP` file would be:
```
P1
4 4
1 0 1 1
0 1 0 0
1 1 0 0
1 1 0 0
```
and the structure of the `QuadTree` I have thought of is:
```
struct QuadTreeNode{
int size;
struct QuadTreeNode *children[4];
int col... |
2018/03/19 | 1,094 | 3,758 | <issue_start>username_0: I'm trying to get today's date using time function of jmeter with the format "${\_\_time(yyyy-MM-dd)}" in BeanShell postprocessor. But after executing the Beanshell postprocessor the result shows as "1996". Basically the "time" function is displaying result by subtracting the values like "2018-... |
2018/03/19 | 397 | 1,465 | <issue_start>username_0: I have created a GCP VM instance, with option `Deploy as Container` pointing to an image in my private GCR(nginx customized).
Also while creating the instance, I had given allow 'https' and 'http' traffic.
Though the application is working fine, on connecting the instance via `ssh` and inspec... |
2018/03/19 | 1,358 | 3,613 | <issue_start>username_0: I'm trying to run geodjango application on heroku and i added a build pack to make `gdal` available
<https://github.com/cyberdelia/heroku-geo-buildpack.git>. During push it's says that `gdal` and other geotools successfully installed
```
remote: -----> geos/gdal/proj app detected
remote: ... |
2018/03/19 | 2,904 | 8,602 | <issue_start>username_0: Using [parallel-ssh](https://github.com/ParallelSSH/parallel-ssh) module I'm trying to run SSH commands using Natinve Client but getting `SessionHandshakeError`. And if I use Paramiko Client instead, everything works fine. I met the [requirement](http://parallel-ssh.readthedocs.io/en/latest/qui... |
2018/03/19 | 1,800 | 8,027 | <issue_start>username_0: I'm trying to learn how to use bound services. Whenever I click the Start/Pause button I would like for the timer to change as desired. However, clicking these buttons will kill the program. I'm not sure why this TextView object is giving a NullPointerException error in my service class. Could ... |
2018/03/19 | 663 | 2,506 | <issue_start>username_0: Trying to upload a large Acumatica company snapshot file (1.3 GB) and I am getting an error as soon as I hit the upload button.
**What setting (if any) can I change in my local Acumatica site or web.config to allow the large file import?**
As a work around I am requesting a snapshot file wi... |
2018/03/19 | 1,217 | 3,770 | <issue_start>username_0: I have two divs:
1. top div contains a long text that takes up several lines
2. lower div has `min-height` and `flex-grow: 1`
When I reducing the window to the scroll appeared, then in chrome everything is displayed correctly. But in IE11 top div is reduced to one line, and its text is on top... |
2018/03/19 | 287 | 1,102 | <issue_start>username_0: For embedding Vimeo videos on the web, I just need to set up my Vimeo video to allow embedding for a specific URL (eg. www.myapp.com) and then it works. When I try to view the same video in a React Native app with a web view I get a `NSUrlErrorDomain` exception.
I've gone through the Vimeo doc... |
2018/03/19 | 336 | 946 | <issue_start>username_0: I would like check whether we can't rewrite `map (f.g.h) x` with `$` without parentheses as I didn't find a way.
Here are my trials:
```
map (f.g.h) x
-> map (f.g.h) $ x -- OK, no benefit
-> map $ f.g.h $ x -- wrong as map doesn't take one parameter
-> (map $ f.g.h) x -- Ok, no benefit, u... |
2018/03/19 | 1,311 | 5,209 | <issue_start>username_0: It seems protractor doesn't provide any out of the box solution for starting a server before it runs. Having to run multiple commands before functional tests will run is a bad user experience and bad for automated testing.
Angular-cli has its own solution that is rather complicated, which thi... |
2018/03/19 | 1,660 | 4,847 | <issue_start>username_0: How to solve the below mentioned cmake error while installing the face\_recognition library?
```
Collecting face_recognition
Using cached face_recognition-1.2.1-py2.py3-none-any.whl
Requirement already satisfied: face-recognition-models>=0.3.0 in ./anaconda/lib/python3.6/site-packages (from ... |
2018/03/19 | 1,026 | 3,470 | <issue_start>username_0: I want to integrate ckfinder with my laravel but I am stuck with authentication.
I found many ways but there were for older laravel versions and none are working for 5.6.
I found this:
```
require '../../vendor/autoload.php';
$app = require_once '../../bootstrap/app.php';
$app->make('Illum... |
2018/03/19 | 776 | 2,180 | <issue_start>username_0: Good morning, I have a head the end of the week with an error in the project that I'm doing for the study of springboot + angular + jpa.
At the time of doing a service management class, I used it according to the tutorial of an extended class of class JpaRepository.
But a project error that I... |
2018/03/19 | 287 | 1,250 | <issue_start>username_0: I have two buttons. How to show the visual effect of clicking both buttons, actually pressing only one of them?<issue_comment>username_1: If you only want only the animation effect you can try this :
```
buttonLeft = findViewById(R.id.left);
buttonRight = findViewById(R.id.right);
buttonLeft... |
2018/03/19 | 2,061 | 7,063 | <issue_start>username_0: How do I change the string representation of an object instance in nodejs debug console. Is there a method (like `toString()` in .NET) I can override?
[](https://i.stack.imgur.com/KkLOV.png)
Consider the following code:
```
... |
2018/03/19 | 774 | 2,755 | <issue_start>username_0: I am making a system and I came across the following doubt .. I have two being the first to select the brand of the vehicle and the second would be to select the model of the vehicle. but I would like to select the brand of the vehicle and the of the model to load the models of the vehicles for... |
2018/03/19 | 649 | 1,960 | <issue_start>username_0: Is there a method to make the first delimiter in an observation different to the rest? In Microsoft SQL Server Integration Services (SSIS), there is an option to set the delimiter per column. I wonder if there is a similar way to achieve this in SAS with an amendment to the below code, whereby ... |
2018/03/19 | 537 | 1,713 | <issue_start>username_0: if I have a jquery namespace like so:
```
var sc = {
calcResult: function(){
//do stuff
},
initialise: function () {
$('#myid').click(function(){
//would like to call calcResult() here
}
... |
2018/03/19 | 743 | 2,924 | <issue_start>username_0: I am getting this error, I am new in react. I have seen other posts but still could not resolve the issue. help will be appreciated. thanks
>
> Warning: A component is changing an uncontrolled input of type email to be controlled. Input elements should not switch from uncontrolled to controll... |
2018/03/19 | 2,125 | 6,010 | <issue_start>username_0: Im working on a transpiler in python right now and one function of my code is to find certain symbols and to place spaces around them so theyre easier to parse later.
This is the code that initially places to the spaces around the chars
```
def InsertSpaces(string):
to_return = list(strin... |
2018/03/19 | 503 | 1,802 | <issue_start>username_0: I tried to integrate an existing table to my extension. The problem is that the content of the table isn't taken over.
I created a new model with the name of the existing table and named the properties according to the existing column names. I also implemented the corresponding getters and sett... |
2018/03/19 | 603 | 1,758 | <issue_start>username_0: I am trying to enter a value in a cell based on the results in 2 different cells. if cell 1 is blank then refer to cell 2, based on what's in cell 2 return X value.
If cell 1 is NOT blank, based on what's in cell 1 return X value.
here is what I have so far, so far everything that looks in ... |
2018/03/19 | 986 | 4,121 | <issue_start>username_0: I am looking into django middleware codebase. I looked into following diagram[](https://i.stack.imgur.com/iKDL1.png)
So, the diagram is quite clear.
But I have some questions
1. What happens when exception comes in process\... |
2018/03/19 | 677 | 2,804 | <issue_start>username_0: just a question, is a good idea to host machines with HyperV on a DC?
This is my Idea.
if the answer is no, can you explain why?
Thanks
Have a nice day<issue_comment>username_1: For 2), you are right. Function `convert_exception_to_response()` will catch the exceptions which `process_request... |
2018/03/19 | 261 | 910 | <issue_start>username_0: I am sending mail through my emailer and in my email i am sending an image with the background hyperlink, the email showing normal but in system configured outlook showing the link of URL of the hyperlink.
Please visit below mention URL
<https://prnt.sc/itb5wq>
I am trying to hide URL using p... |
2018/03/19 | 807 | 3,151 | <issue_start>username_0: I am currently working on a C# project using v4.6.2 and Visual Studio just suggested a code change to the code below.
My question is, I have never seen the `is` keyword used to create a new variable instance in this manner.
The original code was:
```
var authInfo = inputs.FirstOrDefault(i ... |
2018/03/19 | 934 | 3,466 | <issue_start>username_0: I write a dog-classifier in a Jupyter notebook that, every time a dog is detected in an image, should show the image and print some text describing it. Somehow, the images are always displayed after all the text was printed, no matter in which order I put `plt.imshow()` and `print()`. Does anyb... |
2018/03/19 | 713 | 2,806 | <issue_start>username_0: I have to make request with only one parameter for example:
>
> example.com/confirm/{unique-id-value}
>
>
>
I don't expect to get any data in body, only interested in Response Code.
Need advice which method to use GET or POST
GET i think is also OK because, making request with pathparam... |
2018/03/19 | 582 | 2,158 | <issue_start>username_0: In the Grafana documentation, I found that I should be able to query my Prometheus server for all instances delivering monitoring data using the `label_values` query.
The query I'm using in Grafana is:
```
label_values(up, instance)
```
Unfortunately, Prometheus tells me that it is not awa... |
2018/03/19 | 670 | 2,523 | <issue_start>username_0: I am trying to create editable listview dynamically. Need to display array of string as source. when we are clicking on the item it should be editable.
Problem: No errors but no items are displaying.
```
Style tableStyle = _resourceDictionary["TableStyle"] as Style;
ItemsPanelTempl... |
2018/03/19 | 420 | 1,392 | <issue_start>username_0: How do I modify this snippet. Right now it is working good and if $thisorthat = "1" it executes a function for all the ones labelled 1, If I change it to "2" it executes a function for all labelled 2. How do I say 1 AND 2, or 1, 2, and 4, etc. What is the proper format for that?
```
foreach ($... |
2018/03/19 | 686 | 2,071 | <issue_start>username_0: I am using angular material in an angular 2 project.
I want to put a static image (html element) in the selected value of mat-select.
But i didn't find a solution.
Can someone help me?<issue_comment>username_1: By simply adding `![]()` tag inside . For the selected option use `ngClass` to ... |
2018/03/19 | 747 | 2,362 | <issue_start>username_0: I want to performance test a web application. My scenario is to take the metrics for multiple users (say 10) with cache. So i have added HTTP cache manager, but cache work per individual users. Is there any way to cache the files once and use it for 'n' number of users in jmeter. Even i tried t... |
2018/03/19 | 1,001 | 3,831 | <issue_start>username_0: Right now, on the "All releases" page of the Python Software Foundation website, the "Download latest release" links to the Python 3.6.4 version.
However, you can find on the page that the release is from the 2017-12-19 and there has been two others release since, for Python 3.5.5 and Python 3.... |
2018/03/19 | 802 | 2,997 | <issue_start>username_0: I upload and save uploaded file to firebase database using this code.
html
```
Enter a description for image
![image]()
Enter a description for image
```
Js
```
function showMainImage(fileInput) {
var files = fileInput.files;
for (var i = 0; i < files.length; i++) {
var file ... |
2018/03/19 | 818 | 3,222 | <issue_start>username_0: Say I want to implement a TCP/UDP connection between two computers.
I know how to do this if I know computer's IPs and they are in the same LAN. But what if they are in different LANs?
P. S. it would be great if someone showed me the code on how to connect two computers in the same LAN if they... |
2018/03/19 | 960 | 3,487 | <issue_start>username_0: Am trying to add a random number of flops in the range between 0-10 flops. But facing an issue while the random number is 0.
Expecting data shouldn't be flopped if the random value is 0. Can you please suggest your comments.
Code:
```
module tx_delay_bmod_1(clk, i_tx_data,o_tx_data);
paramete... |
2018/03/19 | 632 | 1,634 | <issue_start>username_0: I scraped Twitter media with `simple_html_dom` and got this array result:
```
Array
(
[0] => https://pbs.twimg.com/media/DWyUfBdVwAE9bmJ.jpg
[1] => https://pbs.twimg.com/media/DWyUgBUVMAASB_g.jpg
[2] => https://pbs.twimg.com/media/DWyUg-xU0AEHdyL.jpg
)
Array
(
[0] => https://pb... |
2018/03/19 | 615 | 2,002 | <issue_start>username_0: I am trying to run my report with VBA rowsource using a query.
I have a problem replacing the inbuilt access query to VBA because of double quotes.
I have tried replacing the double quotes with & CHR(34) but unsuccessful.
```
TRANSFORM Count(History_query.WAS) AS CountOfWAS
SELECT History_qu... |
2018/03/19 | 443 | 1,421 | <issue_start>username_0: Is the following:
```
$arr = [
foo => 'bar',
bar => 'foo'
];
```
The same as:
```
$arr = [
'foo' => 'bar',
'bar' => 'foo'
];
```
In other words, is putting quotes on named indexes unnecessary? When would be the only times when putting quotes on string indexes be really nee... |
2018/03/19 | 596 | 1,898 | <issue_start>username_0: Tables 1 as below
```
User_Option_Experience
user_id | teaching_in
|
111 | 1,2,3
112 | 1,4
113 | 4,2
```
Tables 2 as below
```
Teaching_in
IdTeaching | name
|
1 | Biology
2 | Chemistry
3 | Mathematics
```
Now wha... |
2018/03/19 | 526 | 1,877 | <issue_start>username_0: I have a pyspark dataframe with a column `FullPath`.
How can I use the function `os.path.splitext(FullPath)` to extract the extension of each entry in the `FullPath` column and put them in a new column?
Thanks.<issue_comment>username_1: There is a split function the SQL functions module, so ... |
2018/03/19 | 3,575 | 12,174 | <issue_start>username_0: First, a puzzle:
What does the following code print?
```
public class RecursiveStatic {
public static void main(String[] args) {
System.out.println(scale(5));
}
private static final long X = scale(10);
private static long scale(long value) {
return X * value;
... |
2018/03/19 | 482 | 1,264 | <issue_start>username_0: I'm wondering how to turn the color of the *y-axis label* for the **first** and the **last** label to `"red"` (*see picture below*)?
Here is what I tried without success:
```
plot(1:5, yaxt = "n")
axis(2, at = 1:5, labels = paste0("case ", 1:5), col.axis = c(2, rep(1, 3), 2))
```
[ about how to do this for npm packages, but that doesn't work for me since this libra... |