date stringlengths 10 10 | nb_tokens int64 60 629k | text_size int64 234 1.02M | content stringlengths 234 1.02M |
|---|---|---|---|
2018/02/28 | 204 | 660 | <issue_start>username_0: in the matlab documentation [there](https://www.mathworks.com/help/matlab/ref/cov.html) function `cov(A,1)`,where `A` is a matrix, is used to compute the covariance normalized by the number of rows. what is the equivalent of `cov(A,1)` in R? thank you.<issue_comment>username_1: apparently,
`A ... |
2018/02/28 | 569 | 1,888 | <issue_start>username_0: I need to get the TotalMinutes in TimeSpan with just with only 2 decimal places, the 2 decimals refer to Seconds which the decimal should not be exceeded by 59. If exceeds, the whole number will be added. like for example:
```
1.59
```
1 minute and 59 seconds, if this adds one second it is c... |
2018/02/28 | 688 | 2,472 | <issue_start>username_0: I have a firebase realtime database that it's structure is like this:
[](https://i.stack.imgur.com/B40YP.png)
The images and services nodes are fixed and will not be changed but inside images the user can add more nodes (random ... |
2018/02/28 | 960 | 3,868 | <issue_start>username_0: I am trying to make a do...while loop to prevent the user from entering a value other than an integer for the temperature in degrees Fahrenheit. If the user inputs a non-integer value, the loop will go back to the message "What is the temperature (in Fahrenheit degree): " and let the user attem... |
2018/02/28 | 316 | 1,199 | <issue_start>username_0: I have a text view in the scroll view. I set the height of the scroll view by `textView.frame.size.height`
Here is the code which i have tried
```
textView.sizeToFit()
let myViewController = UIViewController()
let viewWidth = myViewController.view.frame.size.width
let heigh... |
2018/02/28 | 401 | 1,671 | <issue_start>username_0: Currently spring boot actuator metrics returns metrics for various system parameters. I want to turn on some selected metrics parameters, for example; show only metrics related to memory and processor. I had several attempts to figure out solution but nothing worked for me. I see `SystemPublicM... |
2018/02/28 | 1,323 | 5,694 | <issue_start>username_0: I know there are lots of posts regarding the same problem, but none of it resolve my issue.
I have a springboot microservice application with the following API
```
@RestController
@RequestMapping({ "/sample" })
public class SampleController {
@CrossOrigin(origins = "http://192.168.0.31:8... |
2018/02/28 | 301 | 1,123 | <issue_start>username_0: After installing flutter, when I run
I think I have messed up my Mac regarding Android Studio when I run
Flutter doctor reports it says Android Studio not found like below
```
Android Studio not found at /Applications/Contents
```
Flutter doctor -v
[ [GCC 5.4.0 20160609]
My error in pgadmin4.log:
```
Tr... |
2018/02/28 | 1,811 | 6,097 | <issue_start>username_0: When new elements are created on the page, they are showing up as [object HTMLLIElement] instead being created as an li element, like I want it to.
Codepen link here so you can see what I am talking about <https://codepen.io/jester070993/pen/bLOrQr>
```
var h1 = document.querySelector("h1")
v... |
2018/02/28 | 197 | 725 | <issue_start>username_0: When I hit the code to create a break point. I am getting error saying that **unable to toggle breakpoint eclipse marker id not found**.<issue_comment>username_1: This has been reported [here](https://bugs.eclipse.org/bugs/show_bug.cgi?id=528321) at bugs.eclipse.org.
The report says the affec... |
2018/02/28 | 987 | 3,343 | <issue_start>username_0: I have the mongodb json data:
```
{
"_id" : ObjectId("1111111111111111"),
"teamId" : "111",
"scoreId" : "50dcefb52d764ca3913985a80a4162ef",
"utterances" : [
{
"text" : "test1",
"parsedText" : "test1"
},
{
"text" : "t... |
2018/02/28 | 773 | 3,059 | <issue_start>username_0: I have an application that reads binary data from a database. Each byte array retrieved represents a string. The strings, though, have all come from different encodings (most commonly ASCII, UTF-8 BOM, and UTF-16 LE, but there are others). In my own application, I'm trying to convert the byte a... |
2018/02/28 | 518 | 1,755 | <issue_start>username_0: Im trying to install pillow on my Mac running macOS Sierra and I used the pip command to install it
```
arunmani$ sudo pip install pillow
```
But when I try to Import it in python I am met with:
```
Aruns-MacBook-Air:~ arunmani$ python
Python 2.7.14 |Anaconda, Inc.| (default, Dec 7 2017, 1... |
2018/02/28 | 1,276 | 4,668 | <issue_start>username_0: I'm trying to initialize a string list to use in a later method. I don't know what size the list needs to be because the data sets that will be passed to the program are not consistently sized. Because of this, I'm dynamically adding items to the list. However, when I initialize the list in the... |
2018/02/28 | 506 | 1,913 | <issue_start>username_0: I have this component that retrieves posts from an api but everytime the user presses the back button, the componentDidMount event is triggered and the api call is repeated.
Does react or react-router provide a way to detect that the back-button was pressed so i can prevent the api call?
```
... |
2018/02/28 | 425 | 1,596 | <issue_start>username_0: I am using `tomcat7-maven-plugin`, and my web application is stored in `src/main/webapp`. It is a React app, so I run `npm run build` to generate a "compiled" version in `src/main/webapp/build`. My problem is that whenever I package the webapp, the whole `webapp` folder is packaged (including `... |
2018/02/28 | 811 | 2,815 | <issue_start>username_0: So I know this might be an easy thing to do, but I am beginning with swift for macOS and swift development. I want to make a simple app that asks for a name, then says "Hello, name". In macOS development a way to do this is by doing this:
```
@IBOutlet weak var nameField: NSTextField!
.
// Mor... |
2018/02/28 | 862 | 2,884 | <issue_start>username_0: I am new to nifi. I was trying to create a jolt spec but not getting it. Could anyone please help me.
Details as below:
The Attributes in flow file : details, id, name , address, status
Flow file looks like :
[{"to": "xxx1"},{"to": "xxx2"},{"to": "xxx3"},{"to": "xxxn"}]
Expecting below o... |
2018/02/28 | 483 | 1,580 | <issue_start>username_0: ```js
function jjj(asi) {
asi=3;
}
jjj();
console.log(asi);
```
Here I am thinking that `asi` is a global variable but while running this code it is giving that `asi` is not defined.
As per the books and official doc I have studied that if you mention the variable name without the keyword... |
2018/02/28 | 443 | 1,424 | <issue_start>username_0: It's 07.00 AM here in `Asia/Kolkata`. I'm sightly confusing to calculate time using MomentJS.
Can anyone tell me please how to calculate time for `America/Los_Angeles` and, how to get UTC time according to question?<issue_comment>username_1: In your case the function argument is reassigned wit... |
2018/02/28 | 538 | 1,582 | <issue_start>username_0: I am trying to store a condition for comparing values in a variable but it is not working.
The code I have written is :
```
read op
if [ $op == "desc" ]
then
compare='${arr[0]} -gt ${arr[1]}'
if [ eval "$compare" ]
then
echo "SWAP"
fi
fi
```
what am I doing wrong?<issue_comment>username_1:... |
2018/02/28 | 909 | 3,044 | <issue_start>username_0: I have a program that writes to a text file with the "\n" character. I have it write this to a .csv file so that I can then take that information and import it into an Access database. The issue that I am running into is that Microsoft Access VBA and Notepad are not recognizing the line breaks ... |
2018/02/28 | 1,237 | 3,507 | <issue_start>username_0: In my code, when you click on the first `|`, it's checkbox gets selected. But my goal is `checkbox` should get selected by tr click. So when I click on any `|
| |` its `checkbox` will be selected. To do this I already tried to replace on click class ".checktd" to ".odd" but this does not work... |
2018/02/28 | 1,260 | 4,588 | <issue_start>username_0: What I'd really like to do is something like this:
```
class X(metaclass=abc.ABCMeta):
@abc.abstractAttribute # this doesn't exist
var = [1,2]
class Y(X):
var = X.var + [3,4]
```
This would force any subclasses of `X` to implement a static `var` attribute.
But there's no way to... |
2018/02/28 | 288 | 1,148 | <issue_start>username_0: I need to take the first element of IEnumerable, but without iteration. I used First(), but it can cause some bugs because it iterates. I know I can do it with enum, but how can I do it?<issue_comment>username_1: you can try with FirstOrDefault.it stands for first element
```
int[] numbers = {... |
2018/02/28 | 286 | 1,162 | <issue_start>username_0: script that reads **CSV** files and gets headers and filter by specific column, I have tried researching on it but nothing of quality I have managed to get.
Please any help will be deeply appreciated<issue_comment>username_1: you can try with FirstOrDefault.it stands for first element
```
int... |
2018/02/28 | 288 | 1,119 | <issue_start>username_0: I am using AngularJS 1.6, Can i use `use strict` with my Controller, Directives, services, etc.
Is it a good practice using 'use strict' with AngularJS app?<issue_comment>username_1: you can try with FirstOrDefault.it stands for first element
```
int[] numbers = { };
int first = numbers.First... |
2018/02/28 | 403 | 1,364 | <issue_start>username_0: I have recently installed android studio. I need to open/create android emulators how can i do that, I am not able to find AVD Manager option. Below option is not available
Open the AVD Manager by clicking **Tools > Android > AVD Manager**.
[ as 'en-us'
```
but this returns:
```
123,456,789.12
```
I also tried
```
SELECT FORMAT(123456789.1234, '##,###.00') ... |
2018/02/28 | 624 | 2,145 | <issue_start>username_0: We have a SQL query which is not written as per the sql guideline. We have to change the query but if we change the logic and remove the inner query then it take to much time to execute. Below is the query:
```
select col1,
col2,
case
when col1 <> '' then(select... |
2018/02/28 | 480 | 1,993 | <issue_start>username_0: I have a 1-screen tutorial View Controller. I want this tutorial VC to show only once (userdefaults), but I want a smooth transition from when the launch screen finishes -> tutorial VC.
Right now - the launch screen finishes, then the main interface of the App shows for a split second, then th... |
2018/02/28 | 940 | 3,632 | <issue_start>username_0: Let's say I have a function like this (completely random, I just wrote it up in like 30 seconds for an example)
```
bool exampleAuthetnication(char *a, char *b)
{
bool didAuthenticate = false;
if(strcmp(a, b) == 0)
{
didAuthenticate = true;
}
if(didAuthenticate)
... |
2018/02/28 | 1,275 | 4,492 | <issue_start>username_0: I'm using `reactstrap` and have been following this link:
<https://reactstrap.github.io/components/navbar/>
In the example, the is pushing the to the right. However, what I am trying to implement (which is really similar to the example) the is rendering right next to the .
I've checked t... |
2018/02/28 | 1,211 | 3,431 | <issue_start>username_0: I've been trying to make a combinator with this type signature:
```
(a -> b -> c) -> (c -> d -> e) -> a -> b -> d -> e
```
I've been through [Data.Aviary.Birds](https://hackage.haskell.org/package/data-aviary) and all the tacit programming help sites that I can find, but to no avail. Also, i... |
2018/02/28 | 2,128 | 5,906 | <issue_start>username_0: My assignment is : Create a Class to store 100 integers in an Array. Call your class “SimpleArray”, and store it in a file called “SimpleArray.java”. All code should go in the main() method. First declare an array of 100 integers. Use a for loop to store the numbers between 500 and 599 in the a... |
2018/02/28 | 7,986 | 14,189 | <issue_start>username_0: This the JSON response from the API:
```
{
"order_id": 1020304051,
"order_number": "10001",
"carrier_name": "Australia Post",
"tracking_numbers": [
"QQQ001156301000960302"
],
"labels": [
"<KEY>
],
"label_types": [
"AusPost"
],
"success": true
}
```
I have this... |
2018/02/28 | 937 | 3,192 | <issue_start>username_0: I have a data set that looks like this:
```
df <- data.frame(
status = c('foo','foo','bar', 'bar'),
name = c("joe", "steve", "john","matt"),
cost = c(1,2,3,4)
)
df
status name cost
foo joe 1
foo steve 2
bar john 3
bar matt 4
```
And i'd like to tra... |
2018/02/28 | 802 | 2,995 | <issue_start>username_0: I want to implement video audio and text chat in native Android using [Icelink](https://help.frozenmountain.com/docs/icelink3/getting-started/introducing-icelink). I implement demo provided by Icelink but it makes a conference call. I want to make one to one call using request and answer signal... |
2018/02/28 | 729 | 2,630 | <issue_start>username_0: I'm trying to build simple software to connect to a MIDI Output device on Windows in Unity and send MIDI data.
As to avoid re-inventing the wheel, I started with the use of the [C# Midi Toolkit](https://www.codeproject.com/Articles/6228/C-MIDI-Toolkit) on CodeProject built with support for .NE... |
2018/02/28 | 890 | 2,858 | <issue_start>username_0: I have two dataframes,
df1,
```
Names
one two three
Sri is a good player
Ravi is a mentor
Kumar is a cricketer player
```
df2,
```
values
sri
NaN
sri, is
kumar,cricketer player
```
I am trying to get the row in df1 which contains the all the items in df2
My expected output is... |
2018/02/28 | 865 | 3,122 | <issue_start>username_0: How can I kill or release session of hp service manager after retrieve data using wsdl call.
For Connection My code is here
```
try
{
BasicHttpBinding binding = new BasicHttpBinding(BasicHttpSecurityMode.TransportCredentialOnly);
binding.Security.Transp... |
2018/02/28 | 869 | 3,460 | <issue_start>username_0: I have a scenario where i need to send a request to server which is a simpler thing when we are having internet connection available at the time of request.
But i need to write a retry mechanism in such a way that if currently internet connection is not available and when internet connection c... |
2018/02/28 | 1,192 | 4,577 | <issue_start>username_0: I have this error
>
> SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'id' in field list is ambiguous (SQL: select id, followers.user\_id as pivot\_user\_id, followers.follows\_id as pivot\_follows\_id, followers.created\_at as pivot\_created\_at, followers.updated\_at as pivot\_... |
2018/02/28 | 932 | 3,306 | <issue_start>username_0: I was trying to insert data to the database through a form using object oriented php validation. I'm not getting any errors but data is not inserted to the database. Can someone please find me out what's wrong. A simple explanation would be highly appreciated because I'm a beginner.
These are ... |
2018/02/28 | 1,187 | 4,091 | <issue_start>username_0: I am trying to build my web application and am using bootstrap template. In one of the pages I had to provide an inline image with the text, with the image supposed to float left and text towards right.
The paragraph element in the html was part of a div. I looked up and found links which sugg... |
2018/02/28 | 558 | 2,233 | <issue_start>username_0: I want to share a PDF directly to WhatsApp.
Below is the link I found to send text and image in WhatsApp in an iOS app, but unable to find that how to send PDF directly to WhatsApp.
[Share image/text through WhatsApp in an iOS app](https://stackoverflow.com/questions/8354417/share-image-text-... |
2018/02/28 | 949 | 3,383 | <issue_start>username_0: Following is the array in the collection:
```
array:1 [▼
"online" => array:2 [▼
"IS-003" => array:19 [▼
"product" => Product {#831 ▶}
"quantity" => 1
"payment-option" => "online"
]
"HA4" => array:19 [▼
"product" => Product {#822 ▶}
"quantity" => 1
... |
2018/02/28 | 1,676 | 6,205 | <issue_start>username_0: I can view the changes made using IBInspectable on my simulator but not in my storyboard
I tried reinstalling my Xcode but it didn't fix this issue. Here are some screenshots :


So i know my ... |
2018/02/28 | 888 | 3,357 | <issue_start>username_0: my app.module.ts
```
@NgModule({
.......
providers: [
....
{ provide: LocationStrategy, useClass: HashLocationStrategy},
....
]
});
```
when i remove this part, it's works in my localhost but after taking a **ng build** or **ng build --prod** , when i refresh the page or h5 it doesn't... |
2018/02/28 | 693 | 2,335 | <issue_start>username_0: I am using AWS SDK to put images into my S3 instance. I am able to do this successfully via:
```
AmazonS3 s3client = new AmazonS3Client(new ProfileCredentialsProvider());
s3client.putObject(new PutObjectRequest(bucketName, key, file));
```
I can also see the uploaded file if I browse the S3... |
2018/02/28 | 1,095 | 3,919 | <issue_start>username_0: I need to implement the following SQL in C# Linq:
```
SELECT NTILE (3) OVER (ORDER BY TransactionCount DESC) AS A...
```
I couldn't find any answer to a similar problem except [this](https://stackoverflow.com/questions/20953645/implementing-rank-over-sql-clause-in-c-sharp-linq). However I do... |
2018/02/28 | 647 | 2,519 | <issue_start>username_0: This might be repeated question for you guys but really I didn't get answer yet.
Here is my multi-capabilities definition in protractor config file.
I want to access the deviceName parameter value. How can I do it?
```
exports.config = {
directConnect:true,
multiCapabilities: [
{
browserName: ... |
2018/02/28 | 328 | 1,007 | <issue_start>username_0: I have batch file which is prompting user to provide file name. File can or can't have space. My batch is failing if my file name has space in it. For example:
```
SET TDSX=.txt
SET /p DS=%1
move C:\Working\YAHAMA\DEV\Script\%DS%%TDSX% C:\Working\YAHAMA\NEW_FO
```<issue_comment>usern... |
2018/02/28 | 948 | 3,347 | <issue_start>username_0: I am trying to store `$_GET` in variables and re-use them in a POST request, but the problem is that as soon as a POST request is sent the URL becomes empty and there is nothing to store in variables or the data stored in variables is removed as there is nothing in the URL
`success.php?email=<... |
2018/02/28 | 250 | 1,024 | <issue_start>username_0: let me explain you whole scenario:
I'm making the audio record & audio player
When I started recording audio.And I starts to click on pause and stop button multiple times like crazy kid and sometimes buttons stop working and got that error.
please help me out if anyone faces that issue once ... |
2018/02/28 | 2,273 | 8,521 | <issue_start>username_0: can anybody explain me why I'm getting different output?
code 1:
```js
var a = 1;
function b() {
a = 10;
console.log(a); //output 10
}
b();
console.log(a); //output 10
```
code 2:
```js
var a = 1;
function b() {
a = 10;
console.log(a); //output 10
function a() {}
}
... |
2018/02/28 | 1,192 | 3,968 | <issue_start>username_0: I have this function that I was trying to debug because i was getting an error. I have since fixed the issue because I found someone with a similar problem, but being able to console log one of the parameters in the JwtStrategy would have really helped and given me a better understanding what w... |
2018/02/28 | 1,429 | 6,062 | <issue_start>username_0: I built a server using node.js and socket.io for a chat application and I want to connect to the server from my android client application that uses native java.net.Socket. Can I do it?<issue_comment>username_1: In Nodejs, You can use from [this example](https://stackoverflow.com/questions/2522... |
2018/02/28 | 663 | 2,657 | <issue_start>username_0: I need to post string and file from ReactJS to ASP.Net Core 2.0 controller method and bump into 500 error and the request never hits the controller action method. Here is the ReactJS code:
```
private submit(e) {
e.preventDefault();
let data = new FormData();
let st... |
2018/02/28 | 203 | 710 | <issue_start>username_0: Say I have a string "abcde", and want to get "deab". How can I get "deab" using string slicing?
I've tried using `string[-2:1]`, but this gives me an empty result `''`.
The project I am working on makes splitting this up into `[-2:]` and `[:2]` difficult, hence the question. Thanks!<issue_co... |
2018/02/28 | 241 | 914 | <issue_start>username_0: >
> Implement the append function that has the prototype below. The function returns a string that represents the concatenation of all the strings present in an array of strings. For this problem, you can assume the end of the parameter array is marked by `NULL`. You need to allocate memory fo... |
2018/02/28 | 214 | 778 | <issue_start>username_0: In Oracle SQL developer I have a Query in which I have to find all the table names which are starting as 'DIM' and 'FCT' and 'ABC'.
Example:
```
SELECT * FROM DIM_TABLE,fct_table,abc_table WHERE..
```
I am trying through regular expression instring and substring.But unable to get the exact ... |
2018/02/28 | 859 | 3,272 | <issue_start>username_0: I have a piece of selenium code to look for a certain element and afterwards to click on this same element. The element is found, but after that, the click does not seem to do the trick. Here is the code for finding the element (unfortunately using xpaths, because there are no id's and it uses ... |
2018/02/28 | 1,148 | 4,263 | <issue_start>username_0: I was learning about how the **this** keyword works and I read that when a function is called plain and simple, without any context object or the new keyword, the **this** keyword simply refers to the **global / window** object. But if the function uses **strict mode**, then the **this** keywor... |
2018/02/28 | 1,355 | 3,150 | <issue_start>username_0: I want to aggregate data from a CSV file by minute.
The expected output is the number of sessions (3rd column) in one minute
**Input:**
```
30/Jan/2018, 04:01:04, tRhmNvNQG2Ykjz5UrQopDwe
30/Jan/2018, 04:01:09, BKB4UlW2je-fM4vNi5dkO9E
30/Jan/2018, 04:01:19, fjD7lGCc48BBRkPsPNv_iOt
30/Jan/201... |
2018/02/28 | 924 | 2,800 | <issue_start>username_0: Purely from a Software Engineering perspective, how much overhead does `getActivity()` have?
I am constantly using this method multiple times throughout my application and considering having a global variable with reference to `getActivity()` instead.
What would other complications be by havi... |
2018/02/28 | 553 | 1,680 | <issue_start>username_0: [](https://i.stack.imgur.com/pAoZ5.png)
```
```
I want to make this type of custom design for editText.<issue_comment>username_1: all you have to do is set stroke to your background.!
background\_stroke.xml
```
```
ad... |
2018/02/28 | 776 | 3,175 | <issue_start>username_0: I have used bootstrap accordion with 3 static panels and a dynamic panel that is added by an Angular Selector. Due to the Selector, an extra div is wrapping the fourth panel, hence the panel is no longer directly under panel-group. So the collapsing works for the 3 static panels but not for the... |
2018/02/28 | 720 | 2,931 | <issue_start>username_0: I have created two buttons on the same page with `rowcommand` & `rowarguements`,
however, only one of it work fine, I have no idea why "Unexpected error' box is prompted when I tried to click another button. (btnInterview is working fine, `btnContact` is not working)
Not just error msg is prom... |
2018/02/28 | 813 | 2,338 | <issue_start>username_0: When parsing a text file full of variables (one on each line, no whitespace after), after processing, it's being written to a $myfile with an additional line after.
Please checkout my code:
```
$txt_file = file_get_contents('spins/' . $skustart . '/' . $skustart . '.txt');
$rows = e... |
2018/02/28 | 739 | 2,205 | <issue_start>username_0: I want to integrate exp(-x) from 0 to 100000 by using integrate function in R. However I find the answer to be 2.061453e-45 which is almost 0 (zero). The true answer would be 1-exp(-100000) which is almost 1. How do I carry out this integration using integrate function in R to get close to the ... |
2018/02/28 | 248 | 949 | <issue_start>username_0: In the application I can go from screen A to B to C.
Also I can go from screen A to E and also I can go from screen C to E.
I want to know the entry point from where Controller E is presented.
PS : application is storyboard less and can’t post code due to confidentiality.
App is in Swift 3.
... |
2018/02/28 | 198 | 805 | <issue_start>username_0: In which situation do we have to use **static broadcast receiver** and in which situation do we have to use **dynamic broadcast receiver** in android?
Please Explain with examples<issue_comment>username_1: The most simple way is to pass some data in your segue
i.e.
```
if segue.identifier ... |
2018/02/28 | 954 | 3,547 | <issue_start>username_0: How to **recognize** two strings when **most characters** are similar
I want get `true` in this samples
```
"Hello Wolrld" == "HelloWorld"
```
OR
```
"hello world!!" == "helloworld"
```
I know that these are **not equal**, But since most of the characters are the same, it is enough for m... |
2018/02/28 | 965 | 3,619 | <issue_start>username_0: I'm using the following code to pass filename variable to a DataTable Select Statement.But the returned result is null.
```
var filteredDataRows2 = dt.Select("Status = 'Valid' AND Filename ='"+filename+"'");
```
What i'm I doing wrong? Please advise.
UPDATE:
The Datatable `dt` contains val... |
2018/02/28 | 483 | 1,809 | <issue_start>username_0: ```
private void send_Click(object sender, RoutedEventArgs e)
{
(Application.Current as App).Broadcast(new ChatMessage { Username = name.Text, Message = text.Text });
text.Text = "";
}
```
This is my click event but I'm tired of moving my cursor to click it.
Is there any way to set t... |
2018/02/28 | 1,565 | 5,299 | <issue_start>username_0: I have been learning Js for the last few months and I took it upon myself to not learn any Jquery until I'm very comfortable with pure js.
**I want something that has the exact same effect of [This code here](http://jsfiddle.net/shlomohassid/6r1h687k/) without using Jquery.** Please include co... |
2018/02/28 | 2,195 | 8,040 | <issue_start>username_0: I'm trying to copy a lot of workbooks into a summary workbook, I've gotten the below code to do the job so far.
```
Option Explicit
Const FOLDER_PATH = "Folderpath\" 'REMEMBER END BACKSLASH
Sub ImportWorksheets()
'=============================================
'Process all Excel files... |
2018/02/28 | 156 | 531 | <issue_start>username_0: I have gone through the official documentation of kaldi, it is very hard to understand. can anyone suggest me a good tutorial which discribes how to run kaldi on mac??<issue_comment>username_1: A detailed tutorial from early 2016 on installing kaldi with a lively discussion is available here: <... |
2018/02/28 | 339 | 1,139 | <issue_start>username_0: I am using the WordPress menu widget to generate menu items as follows (using the Bootstrap framework):
```
php wp\_nav\_menu(array('theme\_location' = 'header-menu','menu\_class' => 'navbar-nav','container' => 'false'));?>
```
I have these functions to add some addtional style:
```
funct... |
2018/02/28 | 457 | 1,478 | <issue_start>username_0: ```
var string;
var splitstring = string.split("????");
```
my string is 12BLG123
i need the array splitstring to have elements 12,BLG,123
(The alphabets and numbers randomly vary)<issue_comment>username_1: This regex will probably work.
`var splitString = string.split("[^A-Z0-9]+|(?<=[A-Z])... |
2018/02/28 | 2,026 | 8,827 | <issue_start>username_0: Hi I am learning to make a web-based chat app in mean stack
I had defined routes for login and home page and using Angularjs sattelizer method $auth.logout and deleting token from local storage to log out a User,
Now my requirement is as soon as a User logs out I also want to remove User Object... |
2018/02/28 | 628 | 2,462 | <issue_start>username_0: I am in need of a solution for using ADFS 3.0 identities in a ASP.NET Core 2 Web Api application. The Windows Enterprise Support team at my organization has informed me that they are only familiar with SAML or WS-Fed based relying parties within ADFS, and are not interested in allowing me to he... |
2018/02/28 | 2,071 | 7,261 | <issue_start>username_0: I just set up a free MongoDB on Atlas. I added a database called 'react-project' that I'm trying to connect to using mongoose. Here is my connection string:
```
mongoose.connect('mongodb+srv://myUser:myPassword@myCluster.mongodb.net/react-project');
```
As you can see, at the end of the quer... |
2018/02/28 | 1,932 | 6,684 | <issue_start>username_0: I am new to android and java, i need solution for a problem that I want a gif in the toolbar in android which is always running when the screen shows up, I am able to add gif using [koral's library](https://github.com/koral--/android-gif-drawable) but I could not figure it out that how can I ad... |
2018/02/28 | 5,076 | 21,247 | <issue_start>username_0: I am creating an application which is based on Tabs using tablayout. I **didn't use viewpager**. My logic is that users can create fragments (Tabs) like adding tabs in chrome so that whenever user clicks add button a new tab is created with a fragment. Now i need to save unique time stamp of ea... |
2018/02/28 | 1,066 | 3,198 | <issue_start>username_0: This is my json array. this create when I select some elements in drop down list.then no.of array elements can be change
```
"Actions":[
{
"key":"AC_001",
"tag":"AWARD_POINTS",
"name":"Award Points",
"content":{
"html":"Amount",
... |
2018/02/28 | 1,044 | 4,104 | <issue_start>username_0: Is is possible to initialize `HubConnection` from `Microsoft.AspNetCore.TestHost.TestServer`?
The example below throws `HttpRequestException`(Not Found) exception at `await hubConnection.StartAsync();`
```
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft... |
2018/02/28 | 985 | 3,749 | <issue_start>username_0: Given two arrays `ar1` and `ar2`, how can we find sum of two elements from two arrays such that indices are not same and their sum is minimum?
However, I have written the following, but I am not sure regarding storing the sum in a temporary variable and comparing the sum with the sum in the i... |
2018/02/28 | 820 | 2,855 | <issue_start>username_0: I am new to REACT and I was trying to learn how to get and display a specific parameter from a json style message stored in an url.
For instance, the video I was trying to show, is stored in and url, which is a field of the json message itself, so it would look like this:
```
{
"type": "... |
2018/02/28 | 1,023 | 3,040 | <issue_start>username_0: Pardon for the title I cant seem to figure out what could I do. I have a `MainTable` that have some columns that is defined in another table `DefTable`
Simplified because this columns runs from `Col1` to `Col99`
>
> MainTable
>
>
>
```
RowId Col1 Col2 Col3 Col4
----- ---- ---- ---- ----
... |
2018/02/28 | 9,286 | 17,507 | <issue_start>username_0: I'm trying to run the latest linux-omap kernel Linux-4.3.0-rc5-12674-g80923cf8e that I got from the official linux-omap GIT.
I compiled it with the multi\_v7\_defconfig, disabling unneeded boards and adding some debug options like earlyprintk.
I am now stuck with a kernel panic and I can't fi... |
2018/02/28 | 489 | 1,460 | <issue_start>username_0: How do we retrieve the incidents for the last 1 hour through rest api ?
The following filter doesn't seem to work and returns every incident
`https://instance.service-now.com/api/now/table/incident?sys_parrn_query=active=true^sys_created_onBETWEENjavascript:gs.dateGenerate('2018-02-28','05:00... |
2018/02/28 | 909 | 2,851 | <issue_start>username_0: I have done get data by `Id` (primary key) with success. But if I call `Get` by another field, why is it always `Id` that is used?


Here is my co... |
2018/02/28 | 801 | 2,783 | <issue_start>username_0: I have a table with 6 columns.
```
1.ID (number)(PK)
2.USER_ID (number)
3.ROLE_ID (number)
4.CREATED_TS (date)
5.CREATED_BY (VARCHAR2)
6.ACTIVE_IND (VARCHAR2)
```
I am inserting data via a POST REST API Call in that table. I am firing a query in Java Repository.
```
public UserRoles save(fi... |
2018/02/28 | 1,270 | 3,427 | <issue_start>username_0: I have this math assignment that I should make into code.
I've tried all I thought of but I couldn't find a solution.
All this should be done without using php functions, only math operations.
You can use while, for, and such...
So I have number for example `9`
Now I should create number of th... |