date stringlengths 10 10 | nb_tokens int64 60 629k | text_size int64 234 1.02M | content stringlengths 234 1.02M |
|---|---|---|---|
2018/03/08 | 511 | 1,876 | <issue_start>username_0: Does someone have any idea how to make instead of this
```html
table1
table2
```
a dropmenu like this
```html
Current choice
table1
table2
```
I thought it was not possible because you need to reload the page for this and that is not possible in php or atleast not without aj... |
2018/03/08 | 650 | 2,536 | <issue_start>username_0: Here is the HTML code .. I want to extract like here ... "Featuring impressive design, Magic Mouse 2 is completely rechargeable, so you'll eliminate the use of traditional batteries. It's lighter, has fewer moving parts thanks to its built-in battery and continuous bottom shell, and has an opti... |
2018/03/08 | 421 | 1,415 | <issue_start>username_0: I'm trying to find images older than some date using the gcloud sdk. I tried
`gcloud container images list-tags gcr.io/my-project/my-image --filter='timestamp < 2017-07-01'`
but this gives me all images, so the filter doesn't work.<issue_comment>username_1: Well, that one was easier than I in... |
2018/03/08 | 1,867 | 6,140 | <issue_start>username_0: I'm trying to understand how feature importance is calculated for decision trees in sci-kit learn. This question has been asked before, but I am unable to reproduce the results the algorithm is providing.
For example:
```
from StringIO import StringIO
from sklearn.datasets import load_iris... |
2018/03/08 | 806 | 2,580 | <issue_start>username_0: [please refer this jsfiddle](http://jsfiddle.net/chethu1003/L2y2d/810/)
```js
$("#dialog").dialog({
autoOpen: false
});
$("#opener").click(function() {
$("#dialog").dialog("open");
});
```
```html
dialog demo
open the dialog
```
>
> In this fiddle link if i click on every bu... |
2018/03/08 | 2,758 | 10,353 | <issue_start>username_0: I'm using Tensorflow object detection API and working on pretrainedd ssd-mobilenet model. is there a way to extact the last global pooling of the mobilenet for each bbox as a feature vector? I can't find the name of the operation holding this info.
I've been able to extract detection labels an... |
2018/03/08 | 3,252 | 11,789 | <issue_start>username_0: I am working with the following HTML data. I need to extract the a name as well as the content below it. I also need to check if all of these headings and data exist as some pages may not have all the headings. e.g.
```
Dosage
PO- The recommended dose is 25mg once daily for 5 days.
```
**HT... |
2018/03/08 | 781 | 2,427 | <issue_start>username_0: So, I'm trying to encrypt a message in C++ and decrypt in C#..
My decryption in C# needs the Key and IV in bytes, and in C++ I set the Key and IV with std::string and later in the encryption I use this:
`(byte*)key.c_str()`
How can i get this Key
```
std::string szEncryptionKey = "Sixteen byt... |
2018/03/08 | 1,687 | 6,669 | <issue_start>username_0: It's been a couple of months since I'm using Ionic Framework ([ionic-angular](https://github.com/ionic-team/ionic/blob/master/CHANGELOG.md#392-2017-11-08) **3.9.2 latest**) to build Progressive Web Apps. In the meantime, I've always wondered the difference between `ngOnInit` and `ionViewWillLoa... |
2018/03/08 | 723 | 2,095 | <issue_start>username_0: I extracted the hue component of an image and I need to render it. Hue is angular value ranges [0° - 360°] and it isn't reasonable to normalize it to [0 - 255] using min-max normalization as follows:
value = (hue - 0) \* 255 / (360 - 0)
Any idea how to normalize the hue values to [0 - 255]?
Th... |
2018/03/08 | 1,757 | 5,697 | <issue_start>username_0: I'm trying to make an SSL cert with terraform for multiple DNS records, following the docs here: <https://www.terraform.io/docs/providers/aws/r/acm_certificate_validation.html>
For the Route 53 records is gives this example:
```
resource "aws_route53_record" "cert_validation" {
name = "${aw... |
2018/03/08 | 1,050 | 3,359 | <issue_start>username_0: ```
[
{"theKeyOne" :"One"},
{"theKeyTwo" :"Two"},
{"theKeyThree":"Three"},
],
```
I want use String for predicateWithFormat to NSPredicate
for example
```
NSPredicate *predicate = [NSPredicate predicateWithFormat:@"(%@ == %@)", @"theKeyTwo", @"theKeyTwo"];
```
the code, I th... |
2018/03/08 | 1,349 | 4,294 | <issue_start>username_0: i have a string like this:
```
{
Result1 = G;
"Result2" = "";
Result3 = "1.03";
Result4 = 6212753389;
}
```
how i get result like this:
```
Result1 = G
Result2 =
Result3 = 1.03
Result4 = 6212753389
```
**NOTE:** i am trying all suggestion of `NSCharacterSe... |
2018/03/08 | 1,387 | 4,588 | <issue_start>username_0: I'm having difficulty with my registration page on my login form - I've used Flex and Vertical Align classes provided by Bootstrap 4 to vertically centre my div.
It works perfect on tablets and bigger devices, but I'm having an issue with the content overflowing on mobile devices:
[![iPhone 6 ... |
2018/03/08 | 513 | 1,458 | <issue_start>username_0: I'm trying to add mapping for 20K Ports (range [40k-60k]) in the nginx configuration.
This config is added to nginx.conf
```
stream{
server {
listen 40000;
listen 40001;
.
.
.
listen 60000;
proxy_pass :$server\_port;
}
}
```
Everyt... |
2018/03/08 | 547 | 1,633 | <issue_start>username_0: ```
SET serveroutput ON;
DECLARE
TYPE enreg IS RECORD
(mot varchar(30),sig varchar(30));
TYPE tab IS TABLE OF enreg;
t tab := tab({'html','html'},{'css','css'});
BEGIN
dbms_output.put_line(t(1).mot) ;
END;
```<issue_comment>username_1: You cannot initialize RECORDS, the... |
2018/03/08 | 680 | 2,107 | <issue_start>username_0: **I want to apply validation that user can write string but cannot enter email id and number in continuous pattern upto 5 digits only.**
I am trying following not working:
```
^[a-zA-Z][0-9]{0,5}$
```
>
> **Like if user write :**
>
>
>
1. hello 12345 is good --- > True,
2. hello 134566... |
2018/03/08 | 444 | 1,372 | <issue_start>username_0: ```
decimal hundred = 100;
decimal value = 5000;
decimal sum = 1100000;
decimal valuePercentOfSum = value / sum * hundred; //result = 0.4545454545454545454545454500M
decimal percentOfSum = sum / hundred * valuePercentOfSum; //result = 4999.9999999999999999999999500M
```
I would expect... |
2018/03/08 | 618 | 2,107 | <issue_start>username_0: I am writing a spreadsheet to record queries, once the query has been dealt with want to change the status of the entry to closed.
Currently, on Sheet 1 the user can type the code of the query in and select to close it. I then want to search through Sheet 2 which stores all the records and cha... |
2018/03/08 | 363 | 1,333 | <issue_start>username_0: My JMeter test receives a parameter to specify test environment like PROD, DEV.
Results from both test environment will be sent to a certain GraphiteHost. But I need to separate the results of each environment by using `rootMetricsPrefix`.
For example, results from PROD will use prefix `globa... |
2018/03/08 | 248 | 887 | <issue_start>username_0: current I am using some applescripts to the commands in mac machine.is apple allow applescripts in reviewing process or I have to look on alternatives but applescripts is working fine as for my requiremnts<issue_comment>username_1: You can use new [changeCase](http://jmeter.apache.org/usermanua... |
2018/03/08 | 355 | 1,400 | <issue_start>username_0: I built a custom `radio button` using this structure. However using this configuration I cant click the text to toggle the radio, any ideas why this is not working?
```
test
```<issue_comment>username_1: You need to "connect" the text and input, you do that with `for` attribute added to `la... |
2018/03/08 | 515 | 1,941 | <issue_start>username_0: In a worksheet I have two pivot tables on top of each other. I need a VBA macro that can hide the lines in between the two pivot tables. The challenge is the speed ... Using loops is extremely slow. Is there a way to solve this problem? So far I have created a macro that identifies the last row... |
2018/03/08 | 415 | 1,227 | <issue_start>username_0: I understand that the below code snippet is used to print triangular numbers which are less than n. How do we determine the runtime complexity (big O ) of it?
```
#include
using namespace std;
int main()
{
int sum = 0;
int n = 100;
int i = 1;
while (sum <= n) {
sum = sum + i;
cout << ... |
2018/03/08 | 425 | 1,348 | <issue_start>username_0: I'm trying to perform an if statement that needs to be done within the From clause of my query. However when I try to do so, I get this error
Incorrect syntax near the keyword 'THEN'.
The query I'm trying to use is the following:
```
SELECT *
FROM
--a few tables with joins
IF (@a IS NULL OR... |
2018/03/08 | 1,535 | 5,825 | <issue_start>username_0: I created a web app for my google sheet script.
I deployed it with version 1 and and it works
Now I want to make on going changes and deploy my changes,
Do I need to increase the version for each change I deploy? or can I update on current version?
Also, is there a way to get the current ver... |
2018/03/08 | 1,865 | 7,086 | <issue_start>username_0: **BackGround:**
1. Our project is build on PlayFrameWork.
2. Front-end language: JavaScript
3. Back-end language: Scala
4. we are develope a web application,the server is a cluster.
**Want to achieve:**
1. In the web UI, User first input some parameters which about query, and click the butto... |
2018/03/08 | 1,671 | 6,292 | <issue_start>username_0: I would like to iterate through a `CoreData` `Managed Object` array to get every `code` occurence and call a `dataUpdate("\(code)")` function with each `code` string as a param.
```
func updateWalletValue() {
// CryptosMO is the Managed Object containing `code` values among others (`amoun... |
2018/03/08 | 859 | 2,567 | <issue_start>username_0: Up to now I thought that lists can hold element of different types and that each element has its own type information. However, this example seems to suggest something different:
```
def not_working():
A = B = []
for x in range(1,30):
A.append("str")
B.append(True)
... |
2018/03/08 | 509 | 1,851 | <issue_start>username_0: How do I open an accordion panel by using an external anchor link?
I've tried using an anchor link and it just loads the page, without opening the panel.
What I'm trying to achieve is that when the anchor link is clicked, the page loads, scroll to the panel and then open the accordion.
This ... |
2018/03/08 | 645 | 2,699 | <issue_start>username_0: In the following action it should return response immediately after hitting URL but instead it waits till all the Future blocks are started and then only sends response. It waits till "Starting for group 10" is logged in console even though "Returning from action" is logged immediately after hi... |
2018/03/08 | 440 | 1,557 | <issue_start>username_0: I am working on a mobile app using ionic and typescript.
I want to update the location on the user every 10 min for example
So my idea is to call a function every 10 min like this
```
function yourFunction(){
// do whatever you like here
setTimeout(yourFunction, (1000 * 60) * 10);
}
... |
2018/03/08 | 480 | 1,578 | <issue_start>username_0: I need to open some url in new window as a print window. I have option to open a new window with window.open(url); but I need to open it as Print window, not normal window<issue_comment>username_1: For more customization you can do something like:
```
var printWindow = window.open(
'www.go... |
2018/03/08 | 490 | 1,723 | <issue_start>username_0: So I'm getting Data from a C# Rest-Server. One value of the array is of the type Date. When I want to calculate with it for example:
```
let difference = date1.getTime() - date2.getTime();
```
I get the following error:
>
> date1.getTime is not a function
>
>
>
I guess the error is, th... |
2018/03/08 | 973 | 3,601 | <issue_start>username_0: I am trying to install an MSI package with around 10 options. I was hoping to create these options in a `.txt file` and pass those through to `msiexec.exe` during the install via the command line using a script such as this:
```
C:\Windows\System32\msiexec.exe /qn /i "C:\folder\Installer.ms... |
2018/03/08 | 649 | 1,756 | <issue_start>username_0: I am working with a `DataFrame` that contains a large set of columns. I would like to be able to select a subset of columns that follow a given pattern.
Example
```
df = pd.DataFrame({'a_1': [1,2,3],'b': [2,3,4],'c_1': [3,4,5]})
a_1 b c_1
0 1 2 3
1 2 3 4
2 3 4 5
``... |
2018/03/08 | 1,120 | 3,231 | <issue_start>username_0: I have the following transaction
```
BEGIN TRAN
DECLARE @TransactionAmount MONEY = 5.00
UPDATE Account SET Balance -= @TransactionAmount WHERE AccountID = 1
UPDATE Account SET Balance += @TransactionAmount WHERE AccountID = 'blah'
COMMIT TRAN
```
As there is a failure... |
2018/03/08 | 516 | 1,448 | <issue_start>username_0: I have a file which includes a list of different names. Some of some show up twice or more.
I want to display all artists which show up in this list twice or more.
How do I proceed?
Thanks in advance,
Sloan<issue_comment>username_1: Use [`boolean indexing`](http://pandas.pydata.org/pandas-d... |
2018/03/08 | 828 | 2,921 | <issue_start>username_0: i am creating an angular table using this example from angular material <https://material.angular.io/components/table/overview> is there anyway to export it in excel or pdf?<issue_comment>username_1: In your table component.ts
declare a value called
`renderedData: any;`
Then in your construc... |
2018/03/08 | 1,236 | 5,034 | <issue_start>username_0: For example a `Person` that has only one `Age` method:
```
public class Person
{
public int Age()
{
return 6;
}
}
```
A `Height()` method is added.
```
public class Person
{
public int Age()
{
return 6;
}
public int Height()
{
return 6... |
2018/03/08 | 898 | 3,091 | <issue_start>username_0: I am Beginner in Ionic 2. I want to make user registration from app .For user registration i am using api which METHOD is **POST** and its media type is **x-www-form-urlencoded**. I want to send data into server but i am unable to send request successfully.
Please I need some help.[![enter ima... |
2018/03/08 | 745 | 1,472 | <issue_start>username_0: `var table = {"abc":{0:0, 1:5, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0}};`
This is my JSON array, I can access the data like this now: `table["abc"][1]`
Now, How do I append another element like `abc`
Something like this:
`table.append({"xyz":{0:0, 1:5, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0}});`<issu... |
2018/03/08 | 932 | 2,053 | <issue_start>username_0: I use opencv to crop images and I'd like to save them to the models, I load the file directly to `computeLogoFromMemoryFILE` where it is processed, from there how can I save the image to `TempImage` model?
**views.py:**
```
form = myForm(request.FILES)
if form.is_valid():
cropped_image =... |
2018/03/08 | 1,783 | 7,734 | <issue_start>username_0: Why does the C++ standard require elements to be move assignable ([`MoveAssignable`](http://en.cppreference.com/w/cpp/concept/MoveAssignable)) when using for example [`std::vector::erase`](http://en.cppreference.com/w/cpp/container/vector/erase)? Why does one not use in-place construction (a.k.... |
2018/03/08 | 593 | 2,172 | <issue_start>username_0: I am trying to write a unit test for a web service in Java using io-rest-assured. Looks like so much have changed since I last used it. I am getting the error The `method given() is undefined for the type`. I have imported almost all the required jars as appears to me. Any suggestions as what a... |
2018/03/08 | 686 | 2,276 | <issue_start>username_0: Hi I'm creating a login/registration and the database communication is fine already (data get's stored and loaded as intended).
I used Adobe Muse to design the login page and used the form widget to create inputs. On the page "login.html" i have the following form:
```
E-Mail or username
... |
2018/03/08 | 247 | 1,147 | <issue_start>username_0: I have an Azure functions app with multiple functions. I have installed the Azure Functions Core Tools to enable debugging. Is there a way to debug one function at a time. My local setup is pointing to the test environment queues, so all functions can be triggered, which can be confusing when t... |
2018/03/08 | 4,494 | 16,443 | <issue_start>username_0: I have this error
**I am try reinstall android studio and remove .gradle folder , any solution please?**
```
Error:FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> Android resource linking failed (AAPT2 27.0.3 Daemon ... |
2018/03/08 | 682 | 2,381 | <issue_start>username_0: I need a LinkedHashSet with a fixed size n so that when we insert the n+1th element , the first element is automatically removed and new element is inserted at the end.
```
LinkedHashSet = new LinkedHashSet () ;
```
How should I implement the constructor to fix the size ?<issue_comment>use... |
2018/03/08 | 639 | 2,162 | <issue_start>username_0: I need to call a function with parameters in a jQuery `append` method and want to pass a variable named `image` but I keep getting syntax error even when I pass a static value
```
$("#officialDiv").append("");
```
or static
```
$("#officialDiv").append("");
function remove(file) {
}
```
... |
2018/03/08 | 454 | 1,979 | <issue_start>username_0: In Kotlin, we have a beautiful feature like Extension.
Where even a newer custom method can be added to the super class whose object has been instantiated. That method can be accessed by the object created in the code.
My question is basically forked into two.
1. Were there any concept of thi... |
2018/03/08 | 906 | 3,006 | <issue_start>username_0: I am getting string like this:
```
foreach (DataRow dt in dt_power_conv.Rows) {
_powerConv.leit_conv.Add(dt["leit_"].ToString();
}
```
It's adding "ABB for the first time". I need to get "ABB",the rest should be removed. I have tried the following, but it does not change anything:
```
f... |
2018/03/08 | 393 | 1,221 | <issue_start>username_0: I'm using `StreamWriter` to write `csv` file.
This is the result when I opened it in Notepad++
[](https://i.stack.imgur.com/NvIz3.png)
But when I opened it in excel, it became like this
[,'VARCHAR2',data_length,upper(db_param_DATA_TYPE)... |
2018/03/08 | 357 | 1,070 | <issue_start>username_0: I am copying files from one folder into another. The files contain dashes '-' and spaces ' ' . For example, **test-file 123.dwg**
I need to replace those hyphens and spaces with underscores so it would look like this **test\_file\_123.dwg**
I've tried this and it replaces the hyphen fine but n... |
2018/03/08 | 1,375 | 4,659 | <issue_start>username_0: ```
my attempt fiddle here ..........
```
<https://jsfiddle.net/techboy0007/j1eas924/>
<https://i.stack.imgur.com/KXFot.png><issue_comment>username_1: If you want to add/remove rows dynamically you can play with the state, or
if you where using Redux you can play with the store.
Here's a ... |
2018/03/08 | 1,423 | 4,914 | <issue_start>username_0: Is there a solution to only change the template of a contentelement selected by typoscript?
Like this:
```
lib.testelement = CONTENT
lib.testelement {
renderObj {
file = Path/to/my/template.html
}
table = tt_content
select {
pidInList = MyPid
where = ui... |
2018/03/08 | 1,410 | 4,924 | <issue_start>username_0: I am trying to keep the Angular Material Datepicker open by default on rendering of the page inside a section so it's not like an input field and doesn't require the user to click on an input to see the calendar.
This is the one I'm using and it requires clicking on the input field at the mome... |
2018/03/08 | 471 | 1,413 | <issue_start>username_0: Hi I'm struggling to get this to work.
Below code works fine on its own. If I click the button, it toggles the `.sidebar-form` `div`. Great!
```
$( ".sidebar-button" ).click(function() {
$( ".sidebar-form" ).toggle('2000');
});
```
But I also want the `div` to auto open after 10 seconds. ... |
2018/03/08 | 789 | 3,116 | <issue_start>username_0: On **Android 8.0**, not getting wifi list using wifiManager, below API level 26 I am getting the list.
**This function returns the `WifiManager` Object**
```
public static WifiManager getWifiManager(Context context) {
WifiManager wifiManager = null;
try {
wifiMan... |
2018/03/08 | 2,876 | 10,471 | <issue_start>username_0: I'm trying to write code that validates type hints, and in order to do so I have to find out what kind of object the annotation is. For example, consider this snippet that's supposed to tell the user what kind of value is expected:
```
import typing
typ = typing.Union[int, str]
if issubclass... |
2018/03/08 | 2,529 | 9,249 | <issue_start>username_0: I use an Azure IoTHub to receive data from my devices.
To authorize theses devices to send data on my iothub, I generate and specify for each one a SAS Token.
Several time during my test, even after specifying an expiration time of 1month, I had to re-generate a new SAS Token again before the ... |
2018/03/08 | 538 | 1,787 | <issue_start>username_0: So I am trying to delete files by extension and everything seem to be working fine - I can find the DRX files, count and display them but when I try to remove them it just doesn't seem to do anything. I'm sure I've done something really obvious wrong.
```
#!/usr/bin/env python3
import os
impo... |
2018/03/08 | 951 | 3,054 | <issue_start>username_0: I'm trying to add `elasticsearch` to my Ruby on Rails website using `searchkick gem`. The OS I'm currently using is Ubuntu 16.04 TLS.
I installed elasticsearch 6.2.2 and, so far, the default configurations unchanged.
When I run `curl -X GET 'http://localhost:9200'` I get :
```
{
"name" :... |
2018/03/08 | 2,211 | 7,370 | <issue_start>username_0: Can anybody help why I am getting an error in the following?
>
> Error:(7, 41) No resource found that matches the given name (at
> 'dialogCornerRadius' with value '?android:attr/dialogCornerRadius').
>
>
>
```
apply plugin: 'com.android.application'
//Add these lines
def Base_URL = '"'... |
2018/03/08 | 578 | 2,490 | <issue_start>username_0: I have to publish my app on store. For that I have created .appxupload file. But when I submit this package to developer account it always shows an error like below.
>
> The declared package dependency does not exist. Dependency: Microsoft.NET.Native.Framework.Debug.1.7. Minimum version: 1.7... |
2018/03/08 | 342 | 1,247 | <issue_start>username_0: I'm trying create a custom method for select in Controller. I need to get 2 attributes from model, but always get error with select method. How to properly create this function?
My model:
```
module.exports = {
attributes: {
name: 'string',
city: 'string',
zipcode: 'string'
}};
... |
2018/03/08 | 498 | 1,729 | <issue_start>username_0: I wanted to install `Mxnet library` and found on this forum the topic where was described how do it .
```
cran <- getOption("repos")
cran["dmlc"] <- "https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/R/CRAN/"
options(repos = cran)
install.packages("mxnet")
library("m... |
2018/03/08 | 1,365 | 5,057 | <issue_start>username_0: I need to optimize my Android app to look good on phones with a notch, like the Essential Phone.
This phones have different status bar heights than the standard 25dp value, so you can't hardcode that value.
The Android P developer preview released yesterday includes support for the notch and ... |
2018/03/08 | 350 | 1,150 | <issue_start>username_0: How do I find all DB references (such az INDEX optimizer hints) to a particular index?
(I plan to drop an index, and need to know whether it has any dependant objects associated.)<issue_comment>username_1: Especially, This `sql_text` column of this `sql` may be helpful for an individual index ... |
2018/03/08 | 417 | 1,233 | <issue_start>username_0: I want to look for items in an array My problem is that it returns -1 when the size of the array is 4 or 6
Here are my tests:
```
var tab = [1,2,3] ;
binarySearch(tab,3);
2
var tab = [1,2,3,4,5];
binarySearch(tab,3);
2
binarySearch(tab,2);
-1
```
```
}
```<issue_comment>username_1: Espec... |
2018/03/08 | 782 | 2,234 | <issue_start>username_0: ---
How can I convert an int array
```
let beforeSorting = [1, 2, 3, 4, 0, 6, 7, 8, 9, 10]
```
to
```
(1, 2, 3, 4, 0, 6, 7, 8, 9, 10)
```
Also in reverse in swift?
Scenario
--------
```
var a: Int = 0
var b: Int = 0
var c: Int = 0
..likewise 20 variables
```
I wanted to apply some... |
2018/03/08 | 562 | 1,823 | <issue_start>username_0: I have an "onclick" element in a webpage whose HTML reads as follows:
```
[Fastener](#)
```
I want to search this element using the string "fastener" or "Fastener" using Python + Selenium. The number "3625" will change depending on previous inputs, and hence cannot be searched for.
I tried ... |
2018/03/08 | 468 | 1,574 | <issue_start>username_0: I am beginning level in angularJS. Now i am trying to populate a table records into my input fields when table row click event(). How to make this any suggestions please.
Thanks in advance.:-)
Note: I didn't using any json data for showing records into table.<issue_comment>username_1: Use the... |
2018/03/08 | 2,314 | 6,973 | <issue_start>username_0: I try to scrap and crawl a website. The data is in the tbody tag (event names).
When I check the google console, the tbody tag has text data, but when I try to scrap it it returns an empty answer (also tested in scrapy shell). I checked for an AJAX method, because it can bug the script, but it... |
2018/03/08 | 1,063 | 3,575 | <issue_start>username_0: I am using Bootstrap 3 Datepicker. And when I select the start date, then in end date automatically gets filled in another field to the next date. I just cannot figure out why I am getting it. The code is working fine in Firefox and Chrome but in Safari console, it's giving me an error. Any ide... |
2018/03/08 | 604 | 1,597 | <issue_start>username_0: I'm using the following to get the end of day for a date coming from a date picker:
```
var date = DateTime.fromISO('2018-05-05').endOf('day');
```
What I want to end up with is
```
"2018-05-05T23:59:59+02:00"
```
however, I cannot get rid of the milliseconds:
```
console.log(date.toISO... |
2018/03/08 | 628 | 2,051 | <issue_start>username_0: I developed an application and it worked perfect, but today I get this error on /me request object using the JS API:
>
> "unknown error (empty response)"
>
>
>
This is very odd to me and I'm finding it hard to debug. Everything was working as intended the other day but today I get this st... |
2018/03/08 | 875 | 2,441 | <issue_start>username_0: ```
#include
using namespace std;
void myfunction(int array[], int array1[], int array2[], int, int, int);
int main()
{
int array[5], array1[5], array2[5];
cout << "Enter array:";
for (int i = 0; i < 5; i++)
{
cin >> array[i];
cin >> array1[i];
}
myfunction(array, array1, array2, 5, 5... |
2018/03/08 | 635 | 2,766 | <issue_start>username_0: I am trying to build a SOCKS solution for forward proxy. I am using dante SOCKS proxy as I have heard that big companies like google uses it as forward proxy solution.
on the SOCKS server, I am allowing based on FQDN's like google.com:443
Now the problem is, when the client constructs the pac... |
2018/03/08 | 636 | 1,935 | <issue_start>username_0: is there any way to get list of filtered indexes instead of objects.
```
class Object
{
var name
var goal
}
var array = Array()
var filteredIndexes = array.filter{$0.name = "Sane"} // How to implement this?
```<issue_comment>username_1: There are several ways to achieve your goal. For ins... |
2018/03/08 | 916 | 2,993 | <issue_start>username_0: I am facing a interrogation, and I hope you could help me to find an answer.
I am selecting X items in a row.
I have already made a custom alert for 1 item selection in a row that look like this.
[](https://i.stack.imgur.co... |
2018/03/08 | 773 | 2,416 | <issue_start>username_0: ```
function replaceJsonStringify( key, value1 ) {
var $edit = $("#trafficLog");
var currentValue = $edit.val();
var jsonConnect = { "time":getLongTime(), [key] : value };
var jsonObj = JSON.stringify(jsonConnect);
var newValue = jsonObj + "
" + currentValue;
$edit.v... |
2018/03/08 | 502 | 1,899 | <issue_start>username_0: I have a Redshift cluster with 3 nodes. Every now and then, with users running queries against it, we end in this unpleasant situation where some queries run for way longer than expected (even simple ones, exceeding 15 minutes), and the cluster storage starts increasing to the point that if you... |
2018/03/08 | 1,752 | 6,507 | <issue_start>username_0: I am having code something like this.
```
final PreparedStatement stmt = connection
.prepareStatement("delete from " + fullTableName
+ " where name= ?");
stmt.setString(1, addressName);
```
Calculation of `fullTableName` is something like:
```
pub... |
2018/03/08 | 1,552 | 5,727 | <issue_start>username_0: I have a disk top application made by c# visual studio. My question is do I have to setup SQL server on each client to use my application? or there is another way to attach my database with my application and compress it as one and send to each client and those just extract that file and use th... |
2018/03/08 | 1,396 | 4,626 | <issue_start>username_0: I have call the POST in ionic 3.0 and i got error this.http.post is no a function in the console i try this link for resolve this error : [Ionic 3 TypeError: this.http.post is not a function](https://stackoverflow.com/questions/47064698/ionic-3-typeerror-this-http-post-is-not-a-function) but it... |
2018/03/08 | 534 | 1,913 | <issue_start>username_0: I am trying to use http put in Angular. My code looks like this:
```
const url ='this is my url';
const headers = new Headers({'Authorization': '<PASSWORD> is my token'});
return this.http.put(url, {headers: headers}).toPromise().then......
```
But I keep getting 401 Unauthorized as request ... |
2018/03/08 | 821 | 3,671 | <issue_start>username_0: Assuming I have a microservice architecture where I have a Book microservice holding all book details and a Author microservice holding all author details, e.g.
```
Book Service
GET / get all books
GET /id get book details, including author_ids
POST / create new book
etc.
Author Serv... |
2018/03/08 | 1,548 | 6,015 | <issue_start>username_0: 
That is when the sender from one device sends message,it should appear on the right hand side and when the other device gets the message it should appear on the left hand side.
**My java class: This is the function I am calling**
`... |
2018/03/08 | 1,439 | 5,581 | <issue_start>username_0: I currently have the following code for testing:
```
public class FakeClass extends MockUp
{
@Mock
public void doSomething() {
...
}
}
void testHandleMetrics() {
FakeClass fakeClass = new FakeClass();
try {
RealClassUser realClassUser = new RealClassUser();
realClassUser.useDoSomethi... |
2018/03/08 | 264 | 991 | <issue_start>username_0: My goal is to have 2 static buttons at the bottom of the screen at all times "Back" and "Add Event." I have a scrollView that holds a list of items, currently that view just shows one row instead of all that rows that can fit on the screen. The reason I used a scrollView was because I wanted th... |
2018/03/08 | 3,736 | 11,881 | <issue_start>username_0: have tried upgrading to the professional version of visual studio 2017 v 15.6.0 (Preview 7.0)
and installed aspnetcore-runtime-2.1.0-preview1-final-win-x64 and .net core SDK 2.1.4.
When I created a new web application I get an error saying
>
> "The current .NET SDK does not support targetin... |
2018/03/08 | 382 | 1,461 | <issue_start>username_0: I have an app in django 1.11. Below is the view with the form where the user can sign up for the event, after saving he gets a message about the details - on the same page, at the same url. But, after saving the form is completed and after pressing F5 the next saving is performed. How can I avo... |
2018/03/08 | 1,599 | 5,736 | <issue_start>username_0: For Indonesian currency (IDR), `defaultFractionDigits()` gives me `0` in Android app.
```
Locale locale = new Locale("in", "ID");
Currency currency = Currency.getInstance(locale);
Log.d("TEST",String.format(locale, "Currency - %s ( %s ) Decimal - %s ",
currency.getSymbol(locale),
... |
2018/03/08 | 1,458 | 5,529 | <issue_start>username_0: I am beginning my development in angular and I don't know much. What I'm trying to do is that I am trying to pass a fairly large collection of data from one controller to another. This is how I managed to do it.
```
angular.module("myApp").controller("controllerName", function($rootScope, $sc... |
2018/03/08 | 664 | 2,371 | <issue_start>username_0: I would like to make Ctrl and Meta Key possible when users click on link inside an EmberJS app.
Is that possible to open the `transitionToRoute` into a new tab?<issue_comment>username_1: Good question... If you use {{link-to}} then it will just work without any "hacks"...
But if you have to d... |
2018/03/08 | 871 | 3,326 | <issue_start>username_0: I am wondering if it would be possible to disable only the stop word filtering in the MongoDB text search. Sometimes I just want to search for words like "you", "I", "was", etc. I would still like to take advantage of the **stemming**. **Just not the stop word filtering**.
`db.collection.find(... |
2018/03/08 | 1,717 | 5,600 | <issue_start>username_0: I'm having query with multiple `OUTER APPLY` but all tables have primary keys on joined columns (so clustered indexes are used here) so I don't know how to optimize this query futher. Also it's impossible to use indexed view here because using `ORDER BY` and `TOP` is forbidden for them.
So I'm... |