date stringlengths 10 10 | nb_tokens int64 60 629k | text_size int64 234 1.02M | content stringlengths 234 1.02M |
|---|---|---|---|
2018/03/02 | 1,713 | 7,783 | <issue_start>username_0: we are a medium company with about 15 C# developers
We would like to dismiss sourcesafe (five years talking about it!!!) and go to use Git and TFS
Git because is probably the past, the present and future in version control and TFS because we would like to have all centralized and VS integrati... |
2018/03/02 | 830 | 2,618 | <issue_start>username_0: EXEC SP\_EXECUTESQL is giving me the error
>
> Must declare the table variable "@TABLE"
>
>
>
How can we resolve this?
`TESTTABLE` contains 6 table names in it. I have to get all the table names from TESTTABLES and delete the records from all 6 tables based on matching criteria.
```
... |
2018/03/02 | 825 | 2,249 | <issue_start>username_0: I'm trying to make a circle div expandable like google material design but something does not work.
I want it to expand and fill the page (from top 0 and right 0) and stay in position. But when width and height increase, the center of div moves.
I want the same effect on search button on this ... |
2018/03/02 | 927 | 3,710 | <issue_start>username_0: I just started playing around with Flutter, and am now trying to do some simple HTTP(s) requests. I've always used Fiddler with proxy to debug requests send from android apps, but the requests send from Flutter don't seem to show.
Is there any way I can get Fiddler to show Flutter requests, or... |
2018/03/02 | 742 | 2,629 | <issue_start>username_0: I tried to post form data to my express js server side. This is my `pug` file
```
form(action="/profile" method="post" enctype="multipart/form-data")
input(type="file" accept="image/*" name="profileimage")
input(type="text" name="username")
input(type="submit" value="Upload")
```
After th... |
2018/03/02 | 2,309 | 4,643 | <issue_start>username_0: C# contains method to generate Guid from bytes:
```
byte[] bytes = {107, 97, 155, 242, 36, 52, 182, 87, 67, 223, 163, 166, 7, 175, 123, 223};
Guid guid = new Guid(bytes); // => {f29b616b-3424-57b6-43df-a3a607af7bdf}
```
How to write ruby code which will generate the same uuid as C#? The uuid... |
2018/03/02 | 520 | 1,825 | <issue_start>username_0: In HTML5 I could accomplish this by doing something like:
```
lblTxt.Text = "For more info [click here](http://url.com1), for contact [send an email](mailto:<EMAIL>)";
```
Tks<issue_comment>username_1: Links are no first class citizen in Xamarin.Forms, due to its structure which is fundament... |
2018/03/02 | 338 | 1,083 | <issue_start>username_0: I am trying to setup my form ( not being a CSS hero...) and I get the following input not so far from what I'd like :
[](https://i.stack.imgur.com/EjVAq.png)
But all input fields in the same group are same size (1/2 for name group ... |
2018/03/02 | 907 | 3,164 | <issue_start>username_0: I have a problem regarding the routing in Angular 5. I would like to create a child route but when i type the url (for child route) the parent component gets loaded.
My routing:
```
path: 'user-admin/:id',
component: UserAdminComponent,
},
children: [
{
path: '',
component: UserAdmin... |
2018/03/02 | 2,330 | 9,108 | <issue_start>username_0: **Situation**
I have a web application that is using Azure AD B2C as its authentication. We're using OWIN OpenIdConnect to handle this process. The session timeouts are set to 15 minutes (sessionState in web.config and on our AzureADB2C signin policy) and we have SSO enabled in the policy on t... |
2018/03/02 | 654 | 2,385 | <issue_start>username_0: The following code throws an error message in the console and i don't understand this logic, because in my code you can see i have written if statements which should first check if the objects exist.
```js
if (typeof document.getElementById("trbrok0").checked != "undefined") document.getElemen... |
2018/03/02 | 480 | 1,696 | <issue_start>username_0: I would like to update my element on my HTML page with an image stored in a mysql database through javascript but i have no idea how to ensure that the image i upload is going to be saved in html and appear everytime i load it. how would i go about doing so?<issue_comment>username_1: Because `d... |
2018/03/02 | 598 | 2,000 | <issue_start>username_0: I have to write a calculator on a text editor and then call the function with the parameters in Node.js command line. (node index.js sub 3 2 1)
My function has to have a list of numbers (min 2).
This is my function that I wrote to subtract the numbers:
```
function sub() {
var d = 0;
for (var ... |
2018/03/02 | 314 | 1,205 | <issue_start>username_0: I'm trying to set up an Azure Function that I want to trigger when a message is put on a Service Bus queue. However, I can´t get it to work. The first "log.Info" does not trigger.
I deployed an Http trigger together with my Service Bus trigger and that works.
Some screenshots is shown below.... |
2018/03/02 | 617 | 2,097 | <issue_start>username_0: I can initialize the boost::format variable in two ways:
First:
```
void foo()
{
boost::format format{"Hellow %1% %2%"};
format % "Dear" % "user";
// do something with format
}
```
Second way:
```
void foo()
{
boost::format v = boost::format {"Hellow %1% %2%"} % "Dear" % "user";
... |
2018/03/02 | 314 | 976 | <issue_start>username_0: I have a very simple Question to ask.
I have a string like:
```
string str="89";
```
I want to format my string as follow :
```
str="000089";
```
How can i achieve this?<issue_comment>username_1: Assuming the 89 is actually coming from another variable, then simply:
``... |
2018/03/02 | 1,402 | 4,425 | <issue_start>username_0: Can we repeat last value of a column in SSRS? As in attachment, all blank rows in
the last column should be filled with the latest value 702
[](https://i.stack.imgur.com/Rsvbx.png)
I used Previous, Last functions but nothing... |
2018/03/02 | 3,288 | 5,428 | <issue_start>username_0: I have a file that contains the time of observations (time and date) with measurements.
**Input File:**
```
TimeStamp=Wednesday,February 21,2018 4:33:10 PM
1,16.00,17.11,703.41,257.462,12.3,13.8
2,17.11,18.30,753.61,308.084,13.8,15.3
3,18.30,19.58,733.57,335.605,15.3,18.0
TimeSt... |
2018/03/02 | 866 | 3,377 | <issue_start>username_0: I have a `Text widget` on pressing which another `Route` has to be shown. But I could not see any onPressed() method for the `Text widget`. Please Help.<issue_comment>username_1: Just wrap your title in a `GestureDetector` to handle clicks. Then call `Navigator`'s `pushNamed` to redirect to a n... |
2018/03/02 | 1,308 | 4,313 | <issue_start>username_0: I have been updating dataframe columns with list comprehensions for a while, without issue.
If i have a filter on the dataframe, this raises problems, the column is not updated, even if the comprehension returns the correct values.
The below is a contrived example, purely to illustrate the issu... |
2018/03/02 | 750 | 2,563 | <issue_start>username_0: In the C++ function below, why is `numbers[max_index1]` cast to `long long` and then multiplied by `numbers[max_index2]`? I would of thought that you'd multiply the numbers and then cast?
Also would it not make more sense to make the vector numbers type `long long` instead of `int` therefore t... |
2018/03/02 | 260 | 1,097 | <issue_start>username_0: I'm trying to use VS C# Interactive on a project (dll output) which is referencing com x86 references. I'm selecting the project and right click on "Initialize Interactive with Project". When then I try to execute my code. I get a count not load file or assembly .... or one if its dependencies ... |
2018/03/02 | 2,011 | 5,046 | <issue_start>username_0: I wanted to flexibly print the output of two small awk to bash pipes, which are using variables (they worked originally). I initially thought I could store the whole command as variable itself, but for one it did not work and apparently ([store awk command in a variable of bash script](https://... |
2018/03/02 | 277 | 1,008 | <issue_start>username_0: I have the following classes:
```
public class Document {
public String id;
public String date;
public Map keywords = new HashMap<>();
}
public class Keyword {
public String word;
public Map docs = new HashMap<>();
}
```
I want to serialize the `keywords` HashMap in order ... |
2018/03/02 | 533 | 2,049 | <issue_start>username_0: I need to configure Webpack to accept and handle PDF files with `url-loader` via the Vue Cli (latest).
**vue.config.js**
```
module.exports = {
configureWebpack: {
rules: [
{
test: /\.(pdf)(\?.*)?$/,
use: [
{
loader: 'url-loader',
... |
2018/03/02 | 492 | 1,837 | <issue_start>username_0: When I create a new table in bigquery by importing data from an excel file in my google drive I am unable to specify the sheet from which I want the data to be from.
I've already been here:
<https://cloud.google.com/blog/big-data/2016/05/bigquery-integrates-with-google-drive>
But it wasn'... |
2018/03/02 | 220 | 817 | <issue_start>username_0: I want to run `keytool -exportcert -list -v -alias androiddebugkey -keystore ~/.android/debug.keystore` on windows 10 but wwhen I run it in command prompt it give error `Keystore file does not exist: ~/.android/debug.keystore`.
What is the path of keystore filein window
Thanks<issue_comment>u... |
2018/03/02 | 477 | 1,335 | <issue_start>username_0: Here is my data in tab delimited txt file:
<https://drive.google.com/open?id=1SfqY8FBnpLCs8TKySK_HYR6kzWChLRjb>
Is there a way to make a for loop for the following code:
```
ka1 <- dput(as.numeric(na.omit(data$Ka1)))
ka2 <- dput(as.numeric(na.omit(data$Ka2)))
ka3 <- dput(as.numeric(na.omit... |
2018/03/02 | 414 | 1,388 | <issue_start>username_0: This seems quite simple but i'm struggling to transform this:
```
{
"myList": [{
"id": 1,
"type": "EnergyBox",
"properties": ["Name : Eb1", "Prop2 : Val1", "PropN : ValN"]
}, {
"id": 2,
"type": "EnergyBox",
"properties": ["Name : Eb2", "P... |
2018/03/02 | 526 | 1,647 | <issue_start>username_0: I have used Visual Studio 2015 to compile a C program into a 32-bit EXE that dynamically links to the CRT. I want to allow users to download and run this EXE without the need to run a `VCRedist` binary first. It therefore seems I need to deploy some DLLs "app-locally".
Assume the user's machin... |
2018/03/02 | 1,599 | 6,095 | <issue_start>username_0: I've suddenly started getting the following error in a .NET 4 MVC project.
>
> The number of members in the conceptual type 'OrnaviModel.Task' does not match with the number of members on the object side type 'Ornavi.Core.Objects.Task'. Make sure the number of members are the same.
>
>
>
... |
2018/03/02 | 272 | 922 | <issue_start>username_0: I want a way something like this in C++:
```
if (__FreeBSD__8)
abc();
else if (__FreeBSD__10)
xyz();
```
Currently I could see only
```
if ( __FreeBSD_)
do_something();
```
Thanks in advance for the answer<issue_comment>username_1: Found the solution.
We coul... |
2018/03/02 | 482 | 1,584 | <issue_start>username_0: I want to **call a reusable action in my script at run time**. This **reusable action is stored from HP ALM-QC**, not in my local machine.
See below for the current set-up of my test script:
**The reusable action was called using the Solution Explorer:**
[![How reusable action was called in... |
2018/03/02 | 729 | 2,550 | <issue_start>username_0: I have two promises, which are both returning arrays
```
let promise1 = Promise.resolve(['one', 'two']);
let promise2 = Promise.resolve(['three', 'four']);
```
I then want to expect that these two promises together equal one array like so:
```
expect(promise1.concat(promise2)).toEqual(['one... |
2018/03/02 | 386 | 1,559 | <issue_start>username_0: Coming from a strongly typed language I recently took my first steps with React Native. I am using Flow as a static type checker. However I did not yet find a clean and concise way to define an enum type that is treated like a type and triggers the 'compiler' to suggest me the possible values i... |
2018/03/02 | 259 | 941 | <issue_start>username_0: I want to check if a column exists in cassandra table in java,and then perform an action if it exists.How do I do that?<issue_comment>username_1: You can get table definition via [Metadata class](https://docs.datastax.com/en/developer/java-driver/3.4/manual/metadata/). Something like:
```
Colu... |
2018/03/02 | 749 | 2,663 | <issue_start>username_0: Is it possible with MapStruct 1.2 to map a source property with a specific value to a specific different value in the target?
I think about something like this:
```
public abstract class JiraKpmMapper {
@Mappings({
@Mapping(source = "mySource.propA", target = "myTarget.propX")
})
... |
2018/03/02 | 603 | 2,133 | <issue_start>username_0: I have this JS function which I'm trying to toggle on and off when clicked on the object with the `myFunc()` function on it. The trouble I'm having is that by the time the code reaches the first `if(myVar)/else` part and tries to do the handler it has already switched the `myVar` variable to `f... |
2018/03/02 | 810 | 1,678 | <issue_start>username_0: need help in N number or column wise subtraction and division, Below are the columns in a input dataframe.
```
input dataframe:
> df
A B C D
1 1 3 6 2
2 3 3 3 4
3 1 2 2 2
4 4 4 4 4
5 5 2 3 2
formula - a, (b - a) / (1-a)
MY CODE
ABC <- cbind.data.frame(DF[1], (DF[-1] - DF[-nco... |
2018/03/02 | 1,264 | 4,152 | <issue_start>username_0: Here i want to get results of similar `number` rows together that means one after another and each row will be having different counts of data and the rows which have higher count should come first,here is my code
```
public function get_all_mostly_entered_numbers($limit,$offset)
{
$quer... |
2018/03/02 | 401 | 1,496 | <issue_start>username_0: I am trying to increase the amplitude of the sound wave in my code. I have the buffer consisting of all the bytes needed to make the wave.
Here is my code for the audio Playback:
```
public void AddSamples(byte[] buffer)
{
//somehow adjust the buffer to make the sound louder
buffere... |
2018/03/02 | 476 | 1,647 | <issue_start>username_0: I have made an array for M2:Tx - The x will vary dependent code prior to this.
What I would like to do is have a 'clear contents' function and 'sort' function for this array (m2:tx).
I am just struggling to make the array DYNAMIC. If anyone could help.
I believe it will be something along ... |
2018/03/02 | 428 | 1,487 | <issue_start>username_0: I'm try to load the page content via the JQuery `load()` method.
Here is the code
```js
$(window).ready(function() {
$('#content').load('views/login.html');
});
```
```css
.mdl-layout {
align-items: center;
justify-content: center;
}
.mdl-layout__content {
padding: 24px;
... |
2018/03/02 | 292 | 1,045 | <issue_start>username_0: I have a parent component with two component child, and I want to know which child generates an event, my try is with binding, but doesnt work:
parent:
```
FIRST CHILD
SECOND CHILD
export class ParentComponent implements OnInit {
childName1: string ="child1";
childName2: ... |
2018/03/02 | 640 | 2,068 | <issue_start>username_0: I like to print a pattern in java which gives the output:
```
1
23
456
78910 ....
```
But i am not getting how to do this, I wrote a program to print pattern of
```
1
12
123
1234 ...
```
as
```
import java.util.*;
public class Test {
public static void main(String args[]) {
Scanner sc ... |
2018/03/02 | 1,037 | 3,492 | <issue_start>username_0: I have made a work around for my web application, as I failed to se the character encoding to UTF-8 in all scopes when first creating it. I made a simple character conversion java class, so that I could insert character encoding conversion where needed. These are my methods for that:
```
p... |
2018/03/02 | 1,328 | 4,341 | <issue_start>username_0: i have jquery function to giving number in column datatable and delete execution from delete button. when i try delete data in table, It cannot be reorder again.
here is my issue.
[](https://i.stack.imgur.com/PcFIP.png)
It sho... |
2018/03/02 | 6,713 | 14,830 | <issue_start>username_0: My Final RDD looks like this
```
FinalRDD.collect()
Array[(Int, Seq[Iterable[Int]])] = Array((1,List(List(97), List(98), List(99), List(100))), (2,List(List(97, 98), List(97, 99), List(97, 101))), (3,List(List(97, 98, 99),List(99, 102, 103))))
```
I would like to write this RDD to a text fi... |
2018/03/02 | 814 | 3,114 | <issue_start>username_0: How to import existing Flutter project, as a gradle project? 'Import Project' wizard asking for Gradle home path.
I have gradle, installed in my system. But what (which path) needs to set here.
Here is, what I'm trying:
[](h... |
2018/03/02 | 1,198 | 3,978 | <issue_start>username_0: I am following this tutorial: <https://angular.io/guide/testing#component-test-scenarios> for karma+jasmine unit testing. Here my code:
```
import { AppComponent } from "./app.component";
import { ComponentFixture, TestBed } from "@angular/core/testing";
describe('AppComponent', () => {
let ... |
2018/03/02 | 1,232 | 2,846 | <issue_start>username_0: I have a function, which returns a two dimensional Array:
```
2-element Array{Float64,1}:
0.809919
2.00754
```
I now want to efficiently sample over it and store all the results in an array with 2 rows and n columns. The problem is that I get a Vector of vectors. How could I flatten it or ... |
2018/03/02 | 1,025 | 3,351 | <issue_start>username_0: I'm working on Squarespace for a client that needs to add special blog post that are styled different.
The problems is that this template doesn't allow it and the client can't code, so I'm trying to do it with custom CSS in a way that prevents errors.
All this "special" post have a link with h... |
2018/03/02 | 917 | 2,820 | <issue_start>username_0: I have an object which is clearly a string, because I can access the string on it:
`console.log(sender)` will show Fri Mar 02 2018 09:00:20 GMT+0000 (GMT Standard Time), which is obviously a string.
Now, when I try and do this:
```
if (sender.indexOf("(GMT Standard Time)") !== -1)
```
I am... |
2018/03/02 | 562 | 1,809 | <issue_start>username_0: Lets say that I have a 250\*250 matrix. What I want to do is select a [3 3] neighborhood around every pixel and apply a function to it. Now the problem is that the function will output a 2\*2 matrix for every pixel in the neighborhood and then I have to add the result of every pixel and finally... |
2018/03/02 | 567 | 1,639 | <issue_start>username_0: I have created a custom group e.g "grp1" in my application recipe say "app.bb".
```
GROUPADD_PARAM_${PN} = "grp1"
```
I am trying to add my custom user e.g: "user1" to this group "grp1" in "space.bb".
```
USERADD_PARAM_${PN} = "-d ${localstatedir}/lib/space/ -s /bin/false -G grp1 -U user1"
... |
2018/03/02 | 599 | 2,022 | <issue_start>username_0: I have URL below:
```
session.php?action=create_program
```
Then I have the following piece of code:
```
if( isset($_GET['action']) ){ $action= $_GET['action']; $action=''; }
```
It returns an empty string while it should return ''create\_program'<issue_comment>username_1: You are setting... |
2018/03/02 | 2,023 | 8,132 | <issue_start>username_0: Why the use of a progress bar to show the progress of an iteration considerably increases the execution time of the process in question?
Considering the following example:
```
procedure FileToStringList(FileName: String);
var
fileSource: TStringList;
I: Integer;
begin
fileSource:= TStrin... |
2018/03/02 | 902 | 3,871 | <issue_start>username_0: I would write my query in this way but
```
SELECT
TempInventoryComparisonReal.Quantity - ISNULL([TempInventoryComparisonVirtual].[Quantity], 0) QuantityDifference
,IIF((QuantityDifference > 0), QuantityDifference, 0) QuantityDifferencePositive
FROM [TempInventoryComparisonReal]
LEF... |
2018/03/02 | 580 | 1,720 | <issue_start>username_0: How to align input on the lower edge label?
If the line is short, everything works fine, but if it is stretched and transferred to a new line, the input form remains at the level of the first line. I need the input form to be aligned on the bottom:
```css
.lbl {
word-wrap: break-word;
... |
2018/03/02 | 610 | 2,203 | <issue_start>username_0: My goal is to write a C++ program that can read a text file and:
* Count the average number of letters/sentence.
* Count the total amount of digits.
The text file would be read with command "./a.out < textfile"
What I've tried so far is to have the program check each character at a time with... |
2018/03/02 | 555 | 1,602 | <issue_start>username_0: I inserted a google map in my site using an iframe.
Problem is that there is a "white space" just below the map.
I already try with:
```
padding: 0 !important;
margin: 0 !important;
```
but not working.
How can I remove it?
This is the real site (just a the bottom): <http://jurisglobal... |
2018/03/02 | 470 | 1,354 | <issue_start>username_0: Warning: validateDOMNesting(...): cannot appear as a descendant of . See NavigationBar > a > ... > Link > a
```
{isLoggedIn ? (
Logout
) : (
Login
)}
```<issue_comment>username_1: You can add this to css file to remove space
```
.et_pb_text_inner iframe{float:left}
```
Upvotes: 0 <iss... |
2018/03/02 | 691 | 2,231 | <issue_start>username_0: I currently have a list of elements (which are texts) and I am trying to get the first element of this list containing the word `"stars"`. I tried this (among several other things) but it does not work and i'm quite lost.
The name of the list is name\_box :
```
i = 0
for element in name_box:... |
2018/03/02 | 824 | 3,266 | <issue_start>username_0: I am trying to **access an array's `indexPath`** inside a function to **update this array's data** but I don't know how to pass the `indexPath` as a parameter (espacially what to pass when calling) to the function or if this is even the solution.
I included `cellForRowAt` to **illustrate** how... |
2018/03/02 | 904 | 2,785 | <issue_start>username_0: I'm trying to design my store data structure to store Shopping Lists which we are set to specific weeks.
Here is my initial approach:
```
// api/users
{
user: '<NAME>',
userId: 43
shoppingListId: 1
}
```
Then I would query `api/shopping_lists/1`
I was going to set the week ent... |
2018/03/02 | 1,226 | 3,564 | <issue_start>username_0: I have this code to create variables with different id(s), as you can see here:
```
var numgrid = jQuery('.panel-grid').length;
if (jQuery("#pg-"+id+"-0")[0])
{ var os0 = jQuery("#pg-"+id+"-0").offset().top;
var pg0 = jQuery("#pg-"+id+"-0").attr('id'); }
if (jQuery("#pg-"+id+"-1"... |
2018/03/02 | 506 | 1,869 | <issue_start>username_0: How can I create/prepare `Android` build for deployment on Appstore, using Android Studio? (I've developer account singed app and keys/credential)
What are step and checklist, required to create Android deployment build for flutter project<issue_comment>username_1: They have provided all the s... |
2018/03/02 | 796 | 2,746 | <issue_start>username_0: I am trying log SQL queries with params for Spring Boot JDBC but it is not printing the details in log.I am using Spring Boot 1.5.8 version.Please help me to solve this.
**application.properties:**
```
spring.datasource.url=url
spring.datasource.username=user
spring.datasource.password=<PASSW... |
2018/03/02 | 803 | 2,898 | <issue_start>username_0: I want write a function to prevent any input other than numbers 0-9 and the return key so the user can make corrections. I know that this type of question have been asked several times but why doesn't my code work. Does it has to do with the shift key? Why am I getting "event is not defined"?
... |
2018/03/02 | 668 | 2,655 | <issue_start>username_0: I have a piece of code that sometimes throws an exception and sometimes doesn't. Depending on IO and network, different kinds of exception might be thrown. I have a wrapper for that code that shall retry the failing statement, say 10 times until it succeeds. If the exception does not go away af... |
2018/03/02 | 671 | 2,383 | <issue_start>username_0: I have a table that looks similar to this
```
RowNumber Value colIdx
1 A 1
1 Shimano Dura-Ace 2
2 B 1
2 SRAM eTap 2
3 C ... |
2018/03/02 | 472 | 1,490 | <issue_start>username_0: I am pretty new to BigQuery and have a question about grouping the `Date` using Google Analytics data (StandardSQL). The data is currently on daily level, how can I aggregate this to Year/Month level?
Desired outcome: Data on year/month level + selection of only the last 12 months.
```
#Stand... |
2018/03/02 | 477 | 1,668 | <issue_start>username_0: I'm working in Node Red and I need to understand how to loop JSON object and, for each JSON object, make a HTTP request towards another endpoint.
In other words: here's the use case I will need to represent.
Node Red makes a HTTP post to get all devices.
All devices are returned in a JSO... |
2018/03/02 | 420 | 1,307 | <issue_start>username_0: I am looking to subtract two string columns from another string column.
I have acheived this in the past in Oracle using the below
```
SELECT
C.MANUFACTURER,
C.MODEL_GROUP,
REGEXP_REPLACE(C.VARIANT, '^'||C.MANUFACTURER || ' +' || C.MODEL_GROUP) "VAR DESC",
C.VARIANT
FROM STD_BI.RL2_CONTRACTS_... |
2018/03/02 | 1,165 | 4,113 | <issue_start>username_0: I am using Angular4 and trying to get analytics installed.
I followed this guide:
<https://blog.thecodecampus.de/angular-2-include-google-analytics-event-tracking/>
But when I try to build my project, I get the error:
>
> error TS2304: Cannot find name 'ga'.
>
>
>
I have checked my pac... |
2018/03/02 | 422 | 1,585 | <issue_start>username_0: In our ***Cakephp3*** application, the user is inputting some text with apostrophe's and it should be backslashed or using mysql\_real\_escape\_string() we should be handled to override the errors throwing in site.
This fix should be done in one uniq place, instead of being taken care in all t... |
2018/03/02 | 692 | 2,132 | <issue_start>username_0: I'm having trouble trying to create a icon in Leaflet using Vuejs. It doesn't show the icon and I don't know how to fix the path. I have tried all the paths I can think of:
* `assets/leaf-green.png`
* `/assets/leaf-green.png`
* `../assets/leaf-green.png`
* `../../assets/leaf-green.png`
* `src/... |
2018/03/02 | 553 | 2,067 | <issue_start>username_0: I'm trying to call a remote job from one Jenkins server to another, I have this working fine via a shell script. However, trying to translate it into a Jenkinsfile is causing me issues. The environment variable is always "null" when used inside of a stage, even thought [this](https://github.com... |
2018/03/02 | 1,395 | 4,663 | <issue_start>username_0: I am following this [tutorial](https://coderexample.com/datatable-demo-server-side-in-phpmysql-and-ajax/) to apply datatables server side processing in PHP, MSSQL and AJAX.
I adjusted the mentioned code to my requirements. Here is my index page
```
Datatable
$(document).ready(function() {... |
2018/03/02 | 397 | 1,553 | <issue_start>username_0: Does any existing time series database contain functionality for interpolation and digital filtering for outlier detection (Hampel, Savitzky-Golay)? Or at least provide interfaces to enable custom query result post-processing?<issue_comment>username_1: As far as I know InfluxDB does not offer y... |
2018/03/02 | 5,406 | 21,504 | <issue_start>username_0: [](https://i.stack.imgur.com/sJc8B.jpg)
I want to make if floating action button pressed, it show tooltip. But i don't know how to show it programmatically.
Is there a way to show it?<issue_comment>username_1: Currently there... |
2018/03/02 | 1,702 | 6,020 | <issue_start>username_0: I am trying to access to each node by elementName using following Javascript code:
```js
function myFunction() {
var h1 = document.getElementsByName("demoNode");
for (var i = 0; i < h1.length; i++) {
if (h1[i].name == "demoNode") {
var att = h1[i].createAttribute("class");
... |
2018/03/02 | 308 | 1,172 | <issue_start>username_0: I have **cordova 8.0.0** and I'm using **cordova-android 7.1.**
Everytime I run a command like
```
cordova plugin remove ...
# or
cordova plugin add ...
```
The commands take 8+ minutes to end.
I checked my network stats and I saw that node is downloading loads of things the whole time. S... |
2018/03/02 | 442 | 1,683 | <issue_start>username_0: I was trying to manipulate SOME/IP messages by falsifying their content(Payload) sent between 2 ECUs at run time.
After setting up the Hardware VN6510A **MAC Bypassing** and integrating it in the data traffic path between those 2 ECUs to monitor and control all Ethernet data streams.
**ECU A... |
2018/03/02 | 1,434 | 6,180 | <issue_start>username_0: Is this possible to detect a mouse click (Left/Right) anywhere (Inside and Outside the Form) in an if statement? And if it's possible, how?
```
if(MouseButtons.LeftButton == MouseButtonState.Pressed){
...
}
```<issue_comment>username_1: When user clicks outside the form control, it losses t... |
2018/03/02 | 1,471 | 6,383 | <issue_start>username_0: Im working in Unity and I have a simple scene. It consists of a cube which has a box collider on it. Below this cube is a plane
I want to know which side of the cube is hitting the plane at any given instant
One way to do this is to cast a ray from each side of the cube and determine which ray ... |
2018/03/02 | 2,684 | 8,282 | <issue_start>username_0: I want to plot in R using ggplot or another package a bar chart showing values of multiple X variables per bar.
I would appreciate your help to do so and have attached a Figure by [Akseer et al](http://www.thelancet.com/journals/langlo/article/PIIS2214-109X(16)30002-X/abstract) to show the gra... |
2018/03/02 | 1,466 | 4,171 | <issue_start>username_0: I have this table like in photo. In this I want to calculate function for `price* quantita = subtotale` and to sum `Totale=Sum(Subtotale)`.
[](https://i.stack.imgur.com/4JjfL.png)
My html code:
```
| Price | Quantita | Note... |
2018/03/02 | 615 | 1,893 | <issue_start>username_0: I have a mutidimentional array.
First array:
```
$product_array = array(
[0] => array(
[product_id] => 1
),
[1] => array(
[product_id] => 2
),
[2] => array(
[product_id] => 3
)
);
```
Second array:
```
$product_id ... |
2018/03/02 | 972 | 3,756 | <issue_start>username_0: I am wondering if there is some way to optimize the using statement to declare and assign its output together (when it is a single value).
For instance, something similar to the new way to inline declare the result variable of an out parameter.
```
//What I am currently doing:
string myResult... |
2018/03/02 | 392 | 1,421 | <issue_start>username_0: I have a table of persons and activities - neither column is unique.
I need to rank every user by the count of distinct activities, e.g.:
```
_________________
|PERSON|ACTIVITY|
-----------------
|Lars | Sleep |
|James | Eat |
|Lars | Sleep |
|Lars | Sleep |
|Kirk | Shred |
|Jame... |
2018/03/02 | 594 | 2,082 | <issue_start>username_0: I have a text file with below content:
```
Hostname=Hostname2,Hostname3
```
using bash commands how can I fetch only `Hostname2` and `Hostname3` into a separate file. I want `Hostname2` and `Hostname3` to be in different lines.
Sometimes the text file will be like more than 2 hosts,
`Hostna... |
2018/03/02 | 541 | 1,683 | <issue_start>username_0: So what I'm trying to do is to use formatting in array and get an output.
```
formatter = ["%{name}","%{height}","%{weight}"]
puts formatter % {name: "Gleb", height: "174", weight: "64"}
```
Can't understand why it's not working.<issue_comment>username_1: **How to use formatting in an arra... |
2018/03/02 | 813 | 2,709 | <issue_start>username_0: Hello I'm new to coding and I wanted to try how far I've learned ( not so much )
So I made this:
```
var Name = prompt('What is your name?')
var Name
var Age = prompt('What is your age?')
var Age
const RealAge = 2018 - Age
if (Name && RealAge) {
console.log("Hello " + Name + " you wer... |
2018/03/02 | 817 | 2,425 | <issue_start>username_0: How to get many figures without closing first one in matplotlib one by one.
My code is as follows:
```
import matplotlib.pyplot as plt
x = [1,2,3,4,5,6,7,8,9,10]
y = [1,4,9,16,25,36,49,64,81,100]
z=[1,3,4,5,19,13,17,12,15,10]
v=[1,2,4,5,7,8,90,3,2,2]
def func(x,y):
plt.plot(x, y)# I want t... |
2018/03/02 | 661 | 2,139 | <issue_start>username_0: For example, if I type:
```
li=[33];
3 in li
```
I get:
```
False
```
If I check that 33 is there, of course I get "True".
How can I correctly check for the presence of the digit within the list element?<issue_comment>username_1: ```
if (Name && RealAge) {
console.log("Hello " + Name... |
2018/03/02 | 728 | 2,415 | <issue_start>username_0: I have a dataframe, where some values are just numeric (1,43,912, 0.01), and then some data is percentages. In the .xlsx file they are written as "38%, 1%" and such. I do not need to manipulate the percentage data, but when I read them into R (using read\_excel), they are automatically converte... |
2018/03/02 | 1,308 | 4,800 | <issue_start>username_0: I'm trying to understand what is the possible value of `classMember` that two threads are updates, When I'm running the program the output is always 20, But I want to understand why its happend and what is the mimumum, maximum value of `classMember`
```
public class TestClass {
public int cla... |
2018/03/02 | 781 | 2,463 | <issue_start>username_0: I have the following list:
```
val lst: List[Char] = //...
```
I would like to use it in pattern matching as follows:
```
lst match {
case firstPart :: '|' :: theRestOfTheList =>
//do something with them
}
```
The problem is `firstPart` is treated as a single character. But I ... |
2018/03/02 | 1,678 | 5,195 | <issue_start>username_0: I am using **Visual Studio 2015 Ultimate**. I have put a **raw HTML** web form in my Test.aspx file and want to pass the parameters of form-fields (like : Username, password, mobile no. etc.) from **Test.aspx** to **Test.aspx.cs** file. Although, I have written the code for passing the values i... |