date stringlengths 10 10 | nb_tokens int64 60 629k | text_size int64 234 1.02M | content stringlengths 234 1.02M |
|---|---|---|---|
2018/03/09 | 707 | 2,641 | <issue_start>username_0: How I could append an element to an array like that:
[](https://i.stack.imgur.com/12yM9.png)
Using this code I'm overriding the old data:
```
let toUpdate = [book.id]
self.refUsers.child(localUser.key!).child("booksPurchased"... |
2018/03/09 | 768 | 2,686 | <issue_start>username_0: I have a database table that has the following records. There are more fields than what I have displayed below, but I only want to return the Owner, Brand Name, ID#, and Type fields.
```
Owner Ingredient BrandName ID# Type
XXX Methoprene Precor 123-33... |
2018/03/09 | 1,149 | 3,949 | <issue_start>username_0: Cloned Java project from someone else GitHub repo and after opening up a project folder inside InteliJ - it does not show 'RUN' for the main class.
These are options available:
[](https://i.stack.imgur.com/wgxyzm.png)
Aft... |
2018/03/09 | 1,479 | 5,020 | <issue_start>username_0: I have a very weird problem occurring in MS Access which I can't seem to figure out.
Summary: I have a table from Sharepoint that is connected to my MS Access database and a Person table in my Ms Access db. I pull the information row by row from the Sharepoint table and add it to Person Table... |
2018/03/09 | 434 | 1,801 | <issue_start>username_0: We have setup our infrastructure for a project using Terraform, including the code-deploy, ALB and auto-scaling groups. So far, we were doing in-place deployments. But now we're trying to switch to Blue/Green deployment.
Since CodeDeploy Blue/Green deployment replaces the entire autoscaling gro... |
2018/03/09 | 1,402 | 4,927 | <issue_start>username_0: I have a rather large project, including a class Foo which recently needed to be updated using the `@property` decorator to create custom getter and setter methods.
I also stored several instances of `Foo` on my hard drive that at some point I might need to reload. My problem is, that I cannot... |
2018/03/09 | 1,099 | 3,917 | <issue_start>username_0: Background
==========
I wrote a decorator function to modify the `__repr__` of a given class, such that when an class instance is called all its attributes are printed to the user. When used in the on the `Container` class in the example below the decorator `__repr__dec` behaves as intended.
... |
2018/03/09 | 3,845 | 16,246 | <issue_start>username_0: I had a Spring Boot 1.5.9 authorization server that uses BCrypt for password storage. I am attempting to migrate to 2.0 However, I am not no longer able to retrieve a token for authorization.
The response from the server is:
```
"timestamp": "2018-03-09T15:22:06.576+0000",
"status": 4... |
2018/03/09 | 912 | 3,088 | <issue_start>username_0: SQL Server 2016
Field1 (XML(.), null)
Example data:
```
...
...
...
...
...
...
```
In this table, Field1 is setup as XML and I have been trying to find all records where the node `Content` may not be NULL. However, I've tried different examples of `query` and `exist`, but c... |
2018/03/09 | 1,333 | 3,547 | <issue_start>username_0: I have a `String` of the form:
>
> 1,2,3,4,5,6,7,8,...
>
>
>
I am trying to find all substrings in this string that contain exactly 4 digits. For this I have the regex `[0-9],[0-9],[0-9],[0-9]`. Unfortunately when I try to match the regex against my String, I never obtain *all* the substr... |
2018/03/09 | 951 | 2,399 | <issue_start>username_0: Working with a pandas series with DatetimeIndex.
Desired outcome is a dataframe containing all rows within the range specified within the .loc[] function.
When I try the following code:
```
aapl.index = pd.to_datetime(aapl.index)
print(aapl.loc[pd.Timestamp('2010-11-01'):pd.Timestamp('2010-... |
2018/03/09 | 239 | 811 | <issue_start>username_0: Is there a function / shortcut, like `Ctrl``Alt``H` in WebStorm, to show the call hierarchy of a function in Visual Studio Code? If not, is there a plugin which does provide this feature? I'm looking for this feature for Typescript / JavaScript.<issue_comment>username_1: If I understood correct... |
2018/03/09 | 653 | 2,243 | <issue_start>username_0: I am in need of a way to script an iteration through an undefined amount of sub-directories.
I'm using kornshell to and awk. I've stripped the problem to this:
```
for file in $FILEPATH/*.txt
do
awk '
{
#some awk commands
}
'
done
```
So I need to change... |
2018/03/09 | 656 | 2,071 | <issue_start>username_0: Hope someone could help me with this. I want to get output like this:
**Width (cm):** 46
I want **Width (cm):** to be bold and value (46) to be regular.
Here is echo:
```
echo "". \_\_( 'Width (cm): ', 'woocommerce' ) . $\_wccf\_pp\_width ."
";
$_wccf_pp_id_width = get_post_meta($produc... |
2018/03/09 | 710 | 2,550 | <issue_start>username_0: I have a Coldfusion page (CF10) that creates a report and sends it via cfmail to a list of recipients. The ones in our internal domain are receiving, but the external addresses are not.
I found a couple threads where people were having the exact same problem, and the solution was to add the CF... |
2018/03/09 | 882 | 3,301 | <issue_start>username_0: I have a Visual Studio extension that we use internally for a project and one of the things it needs to be able to do is post tickets to VSTS. Previously we were using onsite TFS and making a connection to post tickets was as simple as:
```
var vssCreds = new VssCredentials(true);
projectC... |
2018/03/09 | 636 | 2,444 | <issue_start>username_0: is there a way to instruct docker swarm to automatically run garbage collection and remove all dangling images and containers? I run `docker stack rm STACK_NAME` and redeploy the stack but this keeps unused objects. I know I can run [docker prune](https://docs.docker.com/config/pruning/#prune-c... |
2018/03/09 | 631 | 1,893 | <issue_start>username_0: Currently having some difficulties trying to change a column within a data frame. As seen with the below code, my goal is to get the average background values for each unique `colA` factor (background value is marked by a boolean column). Using that, I need to create a new column by subtracting... |
2018/03/09 | 771 | 2,876 | <issue_start>username_0: I'm currently rendering my Django form in the following way:
```
{% csrf\_token %}
{% bootstrap\_form form %}
```
I have multiple fields of different types, with different things applied to each field, such as validators and help-text.
I have two fields that I would like to add bootstra... |
2018/03/09 | 1,123 | 4,286 | <issue_start>username_0: MyReceiver.java
```
public class MyReceiver extends BroadcastReceiver {
@Override
public void onReceive(final Context context, final Intent intent) {
Log.i("MyReceiver", "MyAction received!");
}
}
```
In `AndroidManifest.xml` (under the `application` tag)
```
```
MainA... |
2018/03/09 | 1,171 | 4,448 | <issue_start>username_0: I have **two application**, in two different server.
In the first Laravel application I have my **User model**, and in the secound application I have my **Blog model**.
There is a **many-to-many relationship** between them, a user can have multiple blogs, and one blog can belongs to many user... |
2018/03/09 | 495 | 1,632 | <issue_start>username_0: I'm using a register formular on my page which should be filled by autofill if the user wants to.
This works alright for all fields except birthdate with the following html:
```
```
`bday` should be correct according to <https://html.spec.whatwg.org/multipage/form-control-infrastructure.html... |
2018/03/09 | 1,412 | 6,015 | <issue_start>username_0: The **Single Responsibility Principle** states that:
>
> A class should have one, and only one, reason to change.
>
>
>
The **Open/Closed Principle** states that:
>
> You should be able to extend a classes behavior, without modifying it.
>
>
>
How can a developer respect both princi... |
2018/03/09 | 1,045 | 3,510 | <issue_start>username_0: I want to make when my form is filled by someone, the progress bar width increase by 20.
```
Name
//javascript
$( "#progressbar" ).progressbar({
value: 0
});
$(".pgbar").change(function() {
var pbVal = 0;
if ($("#1").val().length > 0) pbVal += 20;
if ($("#2"... |
2018/03/09 | 1,669 | 4,378 | <issue_start>username_0: I need to obtain the fourier transform of a complex field. I'm using python.
My input is a 2D snapshot of the electric field in the xy-plane.
I currently have a 3D array F[x][y][z] where F[x][y][0] contains the real component and F[x][y][1](https://i.stack.imgur.com/DXHLJ.png) contains the co... |
2018/03/09 | 786 | 2,243 | <issue_start>username_0: I have a route with a custom IRouteConstraint.
Swagger generates the parameter section but the description field is always empty. For other parameters I get the description from the XML comments correctly.
The only workaround I found so far is adding a Operation filter and set the description t... |
2018/03/09 | 931 | 3,344 | <issue_start>username_0: I'd like to create a generalized `__eq__()` method for the following Class. Basically I'd like to be able to add another property (`nick`) without having to change `__eq__()`
I imagine I can do this somehow by iterating over `dir()` but I wonder if there is a way to create a comprehension that... |
2018/03/09 | 2,264 | 7,905 | <issue_start>username_0: I'm still new to [Mulesoft](https://www.mulesoft.com/)'s [Mule ESB](https://www.mulesoft.com/de/resources/esb/what-mule-esb) and I just cannot get past this issue.
I'm having trouble understanding why my [Mule flow](https://docs.mulesoft.com/mule-user-guide/v/3.7/flows-and-subflows) is failing... |
2018/03/09 | 1,625 | 5,692 | <issue_start>username_0: I have two entities : Category and SubCategory. One category have 0 or many subcategory. They are related with Many-to-One relation.
I don't imagine how i can make a form with subcategories group by category like this :
```
CATEGORY 1 :
- SubCategory 1
- SubCategory 2
CATEGORY 2:
- SubCategory... |
2018/03/09 | 715 | 1,949 | <issue_start>username_0: \*\*Made a mistake in the original version. The dimensions of arrays are unequal now.
This is a stupid question but I can't find the right answer.
How do you index the closest number in a 2d numpy array? Let say we have
```
e = np.array([[1, 2], [4, 5, 6]])
```
I want to locate the indices ... |
2018/03/09 | 3,341 | 15,020 | <issue_start>username_0: I'm new to RxSwift and trying to learn by creating a simple signup form. I want to implement it using a `UITableView` (as an exercise, plus it will become more complicated in the future) so I'm currently using two types of cells:
* A `TextInputTableViewCell` with just a `UITextField`
* A `Butt... |
2018/03/09 | 1,059 | 2,784 | <issue_start>username_0: Probably the title describes the whole question.
I have two divs and I'd like to set the style of their scroll differently.
e.g:
```
#div1{
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-thumb {
background-color: blue;
}
}
#div2{
::-webkit-scrollbar {
width: 10px;
... |
2018/03/09 | 1,186 | 3,905 | <issue_start>username_0: I hit weird case when trying to call c from ocaml.
This is the c side of things:
```
typedef struct {
TSNode node;
} AstNode;
CAMLprim value caml_ts_document_root_node(value document) {
CAMLparam1(document);
TSNode root_node = ts_document_root_node(document);
AstNode elNode;
elNode.... |
2018/03/09 | 354 | 1,191 | <issue_start>username_0: ```js
$(".raw_data").click(function () {
$("[name='raw_data']").prop("checked",!$("[name='raw_data']").is(':checked')).change();
});
```
```html
raw\_data
```
As you see, when I click the button, the checkbox works well, but when I click the checkbox itself, it sucks...
So, how to m... |
2018/03/09 | 511 | 1,667 | <issue_start>username_0: When I use these two plugins in *ionic 1*
1. cordova-plugin-fcm
2. cordova-plugin-googleplus
then this type of error occurs:
>
> BUILD FAILED in 1s
>
> 11 actionable tasks: 1 executed, 10 up-to-date
>
> Error: /home/idiosys/ionic/seeCheckFolder/SeeCheck/platforms/android/gradlew: Co... |
2018/03/09 | 365 | 1,492 | <issue_start>username_0: I'm developing an apple watch application (WatchOs4). I'm interested to monitor heart rate, so I'm using a WorkoutSession to get continuous data updates. The problem is : when I start a workout session, it will automatically update the exercise ring of the Activity Rings on the watch. As it's n... |
2018/03/09 | 264 | 934 | <issue_start>username_0: I want with a simple button in a form, validate the form and at the same time, open a new tab with "link.com". But when I click on the button, the form is validate but the the "link.com" does't open. I don't know how to do that correctly ... Thank you
```html
Je veux en recruter !
[Je ve... |
2018/03/09 | 575 | 2,009 | <issue_start>username_0: I have an array of strings , extracted from a webelement.
Array Name is 'ExtendedFeatures'
I want to make each value into one string 'fullfeatures1', separated by a comma.
eg : val1 , val1 , val3 ......
Here i have extracted the values and finally looping through the array trying to append... |
2018/03/09 | 608 | 2,118 | <issue_start>username_0: Dropzone only works on the element itself i have an SPAN tag inside my button, and when i click on the text it won't trigger click on parent element which dropzone is attached to. i tried the following but it doesn't work!
```
$('.dropzone').click();
```
and also this
```
$('.dropzone').tri... |
2018/03/09 | 1,214 | 3,683 | <issue_start>username_0: I have following kind of array in javascript:
```
var fruits = [{id: 'apple', field1: 'value1', field2: 'value2'},
{id: 'orange', field1: 'value1', field2: 'value2'},
{id: 'banana', field1: 'value1', field2: 'value2'},
{id: 'apple', field1: 'value1', field2: 'value2'},
{id: 'apple', field1: 'v... |
2018/03/09 | 551 | 2,179 | <issue_start>username_0: I have been trying to determine what the default role of an SVG tag should be if the `role` attribute is not present and the document contains visible graphics.
Using Chrome's accessibility tools it tells me that the role is `SVGRoot`:
[](https://i.stac... |
2018/03/09 | 626 | 2,226 | <issue_start>username_0: I'm trying to get my data to display in a nice format using a table, all other google searches give me really confusing over complicated solutions and i was wondering if there was an easier way of doing it. I'm using using this code:
```
print("no. of cities | Depth-first | Breadth-first | Gre... |
2018/03/09 | 422 | 1,592 | <issue_start>username_0: Trying to do something rather simple in Chef but can't seem to get right. I know it would be easier to use the IIS cookbook but long story short it's not available at this time.
Trying to run a `if` `elsif` from the Attributes file like this. But the `if node[:domain]` section doesn't seem to ... |
2018/03/09 | 611 | 1,946 | <issue_start>username_0: I installed boot2docker on a vm (host: windows 7)
My goal is to ssh into the boot2docker vm via putty.
I configured the /usr/local/etc/ssh/sshd\_config file to my needs and now i wanted to reload/restart the sshd service.
I searched for the sshd file because "sudo service sshd restart" does no... |
2018/03/09 | 232 | 995 | <issue_start>username_0: I am using the Fabric8 Java library to access the Kubernetes API within an actor system. I am concerned about connection leaks and want to understand how the client connections are closed underneath after a REST call is made
Here is the code that initializes the client:
```
config = new Confi... |
2018/03/09 | 191 | 889 | <issue_start>username_0: I am using `make:auth` to make my validation for the registration, laravel also gave the validation message whenever my input is not authenticated, but that's because it uses the default design by laravel, since i'm using my own design of registration page, i want to also add the validation mes... |
2018/03/09 | 994 | 3,620 | <issue_start>username_0: I'm kinda new to Vue.js but today I am trying to setup some sort of map to show data. I ended up picking Highmaps since it seemd like the best alternative of the bunch and also because I already used it (Highcharts) for other projects.
Now the problem arises because I am developing a compone... |
2018/03/09 | 533 | 1,534 | <issue_start>username_0: Hi trying to round Rate but can't seem to get the correct output.
Rate infor comes in the follwing format
example 73.9593
example 49.7093
need the help with getting Rate to round so 73.9593 should be 74 and 49.7093 should be 50
```
SELECT DISTINCT
TEST.Associate,
TEST.Week,
TEST.Function AS ... |
2018/03/09 | 1,392 | 5,143 | <issue_start>username_0: Using TinyMCE 4, I am trying to do a basic local file picker such as the one used in [their example](https://www.tinymce.com/docs/demo/file-picker/).
After running their example, I noticed that the generated image source is a blob opposed to a base64.
So my question: **is it possible to use b... |
2018/03/09 | 785 | 2,967 | <issue_start>username_0: Given two timestamps in a table `start_time, end_time` calculate the total elapsed working hours that occur between them.
Working hours are defined in a separate table(s) of your choosing.<issue_comment>username_1: The `blob:` format you see is actually a Base64 encoded binary image. If you we... |
2018/03/09 | 2,083 | 5,071 | <issue_start>username_0: I have the following files:
```
100005.txt 107984.txt 116095.txt 124152.txt 133339.txt 139345.txt 18147.txt 25750.txt 32647.txt 40390.txt 48979.txt 56502.txt 64234.txt 72964.txt 80311.txt 888.txt 95969.txt
100176.txt 108084.txt 116194.txt 124321.txt 133435.txt 139438.txt... |
2018/03/09 | 462 | 1,507 | <issue_start>username_0: I want to set the text content of an element using JavaScript. If I do this:
```
var el = document.getElementById('my-element')
el.textContent = '×'
```
The result is:
```
×
```
I tried using `\&` instead but that had no effect. How can I actually insert the entity into the text co... |
2018/03/09 | 870 | 3,559 | <issue_start>username_0: here is the error I am getting :
```
System.ExecutionEngineException was unhandled
HResult=-2146233082
Message=Exception of type 'System.ExecutionEngineException' was thrown.
InnerException:
```
code Update:
here is my code
```
void WriteGraph(int[] vData)
{
string tempWrite = ... |
2018/03/09 | 330 | 1,145 | <issue_start>username_0: I have a problem with using a normal Button and setting the AppBarLayout as the anchor to that Button as the upper part of the Button is placed under the AppBarLayout. It works when using a `FloatingActionButton` and I have tried to set elevation and using `bringToFront`, but nothing works.
[!... |
2018/03/09 | 404 | 1,281 | <issue_start>username_0: I am trying to upload artifacts to my "maven-central" repository in Nexus. I am using the command:
```
curl -v --user admin:admin123 --upload-file /path/myjar.jar http://nexus-nexus3.apps.lab.ca/repository/maven-central/com/tp/mycompany/1.0/myjar.jar
```
I am getting the error:
>
> User-A... |
2018/03/09 | 1,336 | 5,258 | <issue_start>username_0: I am opening a targetdataline to accept audio input for a given format.
I start and open the line, and I have a buffer which fills with bytes. This runs on a constant loop until an external parameter is changed.
Now for a fixed sample rate and buffer size, I would expect this to always take ... |
2018/03/09 | 1,733 | 5,715 | <issue_start>username_0: I am using TFS2018 and calling the build api like this
```
internal void UpdateSourceBranches(List defs)
{
using (var handler = new HttpClientHandler { Credentials = new NetworkCredential(tfsUser, tfsPass) })
using (var client = new HttpClient(handler))
{
try
{
client.BaseAddress = new ... |
2018/03/09 | 706 | 2,733 | <issue_start>username_0: I'm using Visual Studio code and have inherited a project that uses 'LF' line endings. By default Visual Studio Code opens my files in CRLF (i'm using Windows 10) which causes my git pre-commit hooks to fail. I don't get any error messages if I switch Visual Studio Code to use LF at the bottom ... |
2018/03/09 | 688 | 2,647 | <issue_start>username_0: I have the following mapping profile
```
public class DomainProfile : Profile
{
private FootballPredictionsContext m_Context;
public DomainProfile(FootballPredictionsContext context)
{
m_Context = context;
}
public DomainProfile()
{
CreateMap()
.ForMe... |
2018/03/09 | 1,047 | 3,555 | <issue_start>username_0: I'm learning C++ and I ran into a bit of code that I'm confused on what exactly it does. I'm learning dynamic memory and the place I'm learning it from mentioned that this was good practice.
```
double * pvalue = NULL;
if(!(pvalue = new double)){
cout<<"Error: out of memory." << endl;
exi... |
2018/03/09 | 857 | 3,637 | <issue_start>username_0: Observations
------------
When using an Amazon ELB *Application Load Balancer* and working with [Sticky Sessions](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html#sticky-sessions) the load balancer inserts a cookie named `AWSALB` in the first... |
2018/03/09 | 331 | 1,245 | <issue_start>username_0: I use the requestAnimationFrame inside a ES6 class such as
```
class MyClass{...
run(){
requestAnimationFrame(this.animate);
//also tried requestAnimationFrame(() => this.animate);
}
animate(){
//how to get I back "this" here
}
```
I cannot ge... |
2018/03/09 | 405 | 1,370 | <issue_start>username_0: I want to search graph API users for everyone whos name does **not** start with some value
I tried
```
https://graph.microsoft.com/v1.0/users?$filter="NOT startswith(displayName,'J')"
https://graph.microsoft.com/v1.0/users?$filter=not(startswith(displayName,'J'))
```
But I get
>
> Invali... |
2018/03/09 | 806 | 2,970 | <issue_start>username_0: I have decided to come here with my problem as my head is fried and I have a deadline. My basic scenario is that on our system we save RTF HTML in the database, for example:
```
This is **Line 1** with more **Bold and *italic*** text
```
Which renders as following:
This is **Line 1** with m... |
2018/03/09 | 901 | 3,099 | <issue_start>username_0: I've been using python igraph to try to make an easier time of generating and analyzing graphs. My code below generates a random graph of 50 nodes and clusters it:
```
from igraph import *
import random as rn
g = Graph()
size = 50
g.add_vertices(size)
vert = []
for i in range(size):
f... |
2018/03/09 | 359 | 1,205 | <issue_start>username_0: I would like to know how to select a specific child element / child elements that have element after it in vanilla JavaScript.
```html
* Test1
Test2
+ Test 3
+ Test 4
+ Test 5
```
I would like to select all the s that have a tag after them and give them `padding-bottom: 16px`.
How can... |
2018/03/09 | 831 | 2,795 | <issue_start>username_0: I download a XLS file from the web using selenium.
I tried many options I found in stack-overflow and other websites to read the XLS file :
```
import pandas as pd
df = pd.read_excel('test.xls') # Read XLS file
Expected "little-endian" marker, found b'\xff\xfe'
```
And
```
df = pd.ExcelFi... |
2018/03/09 | 490 | 1,567 | <issue_start>username_0: I have a very large document containing section references in different formats. I want to extract these references using Python & regex.
Examples of the string formats:
1) Section 23
2) Section 45(3)
3) point (e) of Section 75
4) Sections 21(1), 54(2), 78(1)
Right now, I have the followi... |
2018/03/09 | 1,008 | 3,222 | <issue_start>username_0: I've been looking for a way to filter values in Ruby Hash (the value of my Hash is an array of Hashes).
My problem:
I have below Hash:
```
expanded_addresses_map =
{
:t2p=>[],
:non_t2p=>[
{:recipient=>"<NAME>", :email=>"<EMAIL>"},
{:recipient=>"<NAME>", :email=>"<EMAIL>"},
{... |
2018/03/09 | 224 | 1,023 | <issue_start>username_0: I have a pretty short question in relation to AspectJ.
Do aspects execute from a separate thread or do they execute on the existing thread (i.e. the one your main method executes from)?<issue_comment>username_1: They execute in the same thread where the advised code was executing. AspectJ is n... |
2018/03/09 | 643 | 2,705 | <issue_start>username_0: I'm running a PowerShell script from a .NET application, but it's failing because `$PSScriptRoot` is not set. How can I set it?
Code:
```
var ps = PowerShell.Create();
ps.Runspace.SessionStateProxy.Path.SetLocation(dir);
var withScript = ps.AddScript(File.ReadAllText(Path));
var results = ps.... |
2018/03/09 | 726 | 2,967 | <issue_start>username_0: I am trying to set an Excel sheet specific cells starting at column A and second Excel sheet row. I wrote the following code:
```
if (!File.Exists(AppConfiguration.FilePath))
{
throw new FileNotFoundException("File Not Found. The requested template.xlsx was not found on the server");
}
Mi... |
2018/03/09 | 654 | 2,133 | <issue_start>username_0: I'm trying to build a large structure from a simple geometric shape in gmsh and I'd like to use a structured (quadrilateral) grid. I start by creating that shape and then duplicating and translating it as often as needed to build my final structure.
The problem is that even if I define the li... |
2018/03/09 | 1,519 | 4,074 | <issue_start>username_0: I'm new to R and don't know where to look for this, so apologies if this is a super stupid question.
I have a data set with the following variables:
```
month day group Y
id
1 11 29 1 0
2 11 29 0 0
3 11 29 0 1
4 11 30 1 1
5 11 30 0 1
6 12 01... |
2018/03/09 | 331 | 1,152 | <issue_start>username_0: I have a problem with this form, no matter which method I use (POST or GET), it doesn't send the request parameters `email` and `pass`.
```
Email:
Password:
<PASSWORD>
```
The problem doesn't come from the adress in action, the file is well referenced.
I know I shouldn't use GET for s... |
2018/03/09 | 575 | 2,032 | <issue_start>username_0: I'm building an android module with this standard build script:
```
buildscript {// top-level
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
}
}
allprojects {
repositories {
google()
jcenter()
}
... |
2018/03/09 | 282 | 846 | <issue_start>username_0: I have two drop down lists in my form and want to get data from database. after getting first drop down successfully, I tried to do the same for the next one. But it gives an error.
[The error I get](https://i.stack.imgur.com/8I5Gt.png)
My code:
* [Model](https://i.stack.imgur.com/12Idd.png)... |
2018/03/09 | 411 | 1,512 | <issue_start>username_0: How can I show a database value(float) to C# in label as float or double? I already figure out how to display it as a string but can't get it to display double. I tried `.ToString("00.00)";` or `.ToString("#0.00");` and get an error "No overload for method 'To String' takes 1 arguments.".
```
... |
2018/03/09 | 434 | 1,537 | <issue_start>username_0: do any of you face this problem , where vscode always take you to the type definition of a function and not the implementation.
For example,
I right click on the react setState function as below,
[](https://i.stack.imgur.com/... |
2018/03/09 | 1,400 | 3,257 | <issue_start>username_0: I am having some trouble with a groupby then trying to calculate the times used by the cashier and the creditcard.
DF
```
Date Cashier Creditcard_number
2017-01-01 <NAME> 1111-1111-1111-1111
2017-01-03 <NAME> 1111-1111-1121-1111
2017-01-04 <NAME> 1111-... |
2018/03/09 | 894 | 2,448 | <issue_start>username_0: I am beginner in sql.I am using sqlplus to run the sql query .I used simple query but it shows an error like **"MISSING RIGHT PARENTHESIS"**.My objective is to create the autoincrement primary key .Can anyone solve the error?Thanks in advance...
```
create table student(rollno int identity(1,1... |
2018/03/09 | 402 | 1,680 | <issue_start>username_0: I have an application where I'd been asked to support Google sign-in. Something we've tried to do since the beginning was not *require* javascript for any important functions. Is it possible to perform Google Sign-in without requiring Javascript?
I've read some of the guides such as <https://d... |
2018/03/09 | 1,438 | 4,232 | <issue_start>username_0: I have a code snippet in java that loops through the file byte by byte and blanks out byte at 3rd position on every 20 bytes. This is done using for each loop.
```
logic:
for(byte b: raw){
if (pos is 3) b = 32;
if (i > 20) i = 0;
i++
}
```
Since I am learning scala, I would like to know ... |
2018/03/09 | 1,236 | 4,867 | <issue_start>username_0: When I scroll down and then back to the top, my items were changed for other items in the list, and if I scroll again, the items again are changed.
The edit text value disappears and spinner value changes automatically.
This is my `MyRecyclerViewAdapter` class.
```
class MyRecyclerViewAdapte... |
2018/03/09 | 345 | 1,205 | <issue_start>username_0: I have a problem to modify a block which sent to a iFrame, so I try to use jQuery to modify it after documentReady, my problem is that the id of the div contain spaces: I want to change the text and add an image
How could I do it with jQuery ?
```
/\* here I want to place a pic \*/
Cash O... |
2018/03/09 | 439 | 1,380 | <issue_start>username_0: Is there a way to increase the space for plotting when making a unbalanced grid of plots. See the below, where max area is unutilised.
```
library(gridExtra)
p <- ggplot(data = mtcars)+geom_point(aes(x=mpg,y=mpg))
grid.arrange(p, arrangeGrob(p,p,
p,p,
... |
2018/03/09 | 1,592 | 5,310 | <issue_start>username_0: I'm implementing a custom table-based sequence generator for MySQL database v5.7.16 with InnoDB engine.
The `sequence_table` looks as follows:
```
+-------------+-----------+
|sequence_name|next_value |
+-------------+-----------+
| first_seq | 1 |
+-------------+-----------+
| s... |
2018/03/09 | 2,382 | 6,281 | <issue_start>username_0: I need to make a warp shuffling that look like this:
[](https://i.stack.imgur.com/DPhqR.jpg)
On this picture, the number of threads is limited to `8` to make it readable.
If I read the Nvidia SDK and ptx manual, the shuffle instruction shou... |
2018/03/09 | 701 | 2,149 | <issue_start>username_0: On a normal server e.g. a Linode VPS I would normally do:
```
localectl set-locale LANG=.utf8
timedatectl set-timezone
```
But since systemd is not present or does not work on containers I get:
```
Failed to create bus connection: No such file or directory
```
Now, my goal is just to cha... |
2018/03/09 | 630 | 1,921 | <issue_start>username_0: I want to include a column, where transaction date information is stored, in a select statement and format the return as 'mm/dd/yyyy'. I am looking for syntax that includes how the column name from the database is invoked.<issue_comment>username_1: Some documentation about locale setting in arc... |
2018/03/09 | 486 | 1,673 | <issue_start>username_0: I have a component like so:
```
import React from 'react'
import { bool } from 'prop-types'
const Component = ({ active, ...rest}) => (
// ...does things
)
Component.propTypes = {
active: bool.isRequired,
// -> how do i handle { ...rest } here?
rest: object // ? works, but is it the ... |
2018/03/09 | 490 | 1,863 | <issue_start>username_0: I'm getting an HTTP 502.5 error when trying to run my ASP.NET core 2.0 web app from IIS.
I've installed the .NET Core Windows Server Hosting Bundle and checked all my IIS settings as per this document <https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/index?tabs=aspnetcore2x>
... |
2018/03/09 | 1,068 | 3,855 | <issue_start>username_0: I want to create a load balancer adressing two or more instances on several zones of the same region in GCP
I start like that :
- create a backend service adressing two instance groups :
```
resource "google_compute_backend_service" "www-service" {
name = "${var.environment}-www-service... |
2018/03/09 | 686 | 1,439 | <issue_start>username_0: I want to convert a string that contains numbers into a vector with the same numbers. What I have done so far:
```
x <- "1234567890"
split <- unlist(strsplit(x,split = NULL))
split
[1] "1" "2" "3" "4" "5" "6" "7" "8" "9" "0"
str(split)
chr [1:10] "1" "2" "3" "4" "5" "6" "7" "8" "9" "0"
```
... |
2018/03/09 | 494 | 1,630 | <issue_start>username_0: I have an input string like this:
```
one `two three` four five `six` seven
```
where some parts can be wrapped by grave accent character (`).
I want to match only these parts which are not wrapped by it, it is `one`, `four five` and `seven` in example (skip `two three` and `six`).
I tryied ... |
2018/03/09 | 911 | 3,448 | <issue_start>username_0: I need some help with converting a CSV File to Json using PowerShell. I have a script that gets the send message logs from Office365 using PowerShell and export them into a CSV file. I will then use the ConvertTo-Json cmdlet to Convert the CSV file into Json. The output Json file includes so ma... |
2018/03/09 | 1,749 | 5,230 | <issue_start>username_0: I read [Pandas change timezone for forex DataFrame](https://stackoverflow.com/questions/40533647/pandas-change-timezone-for-forex-dataframe) but I'd like to make the time column of my dataframe timezone naive for interoperability with an sqlite3 database.
The data in my pandas dataframe is alr... |
2018/03/09 | 892 | 3,102 | <issue_start>username_0: I am using Microsoft.azure.webjobs (3.0.0-beta1-10941) in a .net core 2 console app. The aim is to create a azure web job,
```
var config = new JobHostConfiguration();
if (config.IsDevelopment)
{
config.UseDevelopmentSettings();
}
config.U... |
2018/03/09 | 809 | 2,951 | <issue_start>username_0: We recently upgraded our SQL server to 2016 and I turned on QueryStore to do the analysis that it provides. I'm encountering a problem where, even if the time period of the report is Last hour, it will generate a message that says "Couldn't connect to database" even when running it on the datab... |
2018/03/09 | 1,516 | 4,596 | <issue_start>username_0: I have a file that has a list of people, phone numbers, email addreses
for example
Coulthard
<NAME>
Location: Surrey
Expertise Covered: Horse, Dog, Horse and Rider
Website: www.veterinaryphysio.co.uk
Tel: 07865095005
Email: <EMAIL>
<NAME>
Location: Surrey, Sussex, Ke... |