date stringlengths 10 10 | nb_tokens int64 60 629k | text_size int64 234 1.02M | content stringlengths 234 1.02M |
|---|---|---|---|
2018/03/08 | 400 | 1,699 | <issue_start>username_0: While running "aws ec2 describe-instances" in command line, It gives list of all ec2 Instances but with Java AWS-SDK it's gives zero Reservations. Please see below code snippet,
```
AmazonEC2 ec2;
if (ec2 == null) {
AWSCredentialsProviderChain credentialsProvider = new
AWSCredential... |
2018/03/08 | 958 | 3,999 | <issue_start>username_0: I'm currently trying to make a create account fragment and a choose profile pic fragment.
### Fragment A/create account:
This houses Edittextfields for name, password, E-mail address.
There is also an Image view which represents the profile pic.
This Image view has a button on the side, whic... |
2018/03/08 | 688 | 2,681 | <issue_start>username_0: I'm trying to use firebase to authenticate my users via Google. On my Java server I'm verifying the validity of the idToken and every time I get this error:
```
com.google.firebase.auth.FirebaseAuthException: Error while verifying token signature.
```
I identified the problem as being the pr... |
2018/03/08 | 460 | 1,722 | <issue_start>username_0: I would like to have the possibility to set visible an image in the imageview (
that occupies half screen) while playing a video in a videoview. It's possible to do that?<issue_comment>username_1: I believe this is a bug. As you can see [here](https://github.com/firebase/firebase-admin-java/blo... |
2018/03/08 | 646 | 2,436 | <issue_start>username_0: When I choose a row on the table it prints out the selected item in a string as shown. How do I remove the square brackets from either side of the string.
Below is my code to populate TextFields with the data. You can see it populates successfully but with the [].
the table and output
[![th... |
2018/03/08 | 558 | 1,756 | <issue_start>username_0: I'm having some issues with tick marks disappearing when I apply a locator and formatter to them. I want a plot with multiple subplots that share the same x axis, so only the bottom subplot would have the labels, but all subplots should have labels. Below is an example:
```
import matplotlib.p... |
2018/03/08 | 444 | 1,584 | <issue_start>username_0: Is it possible to allow on Oracle 11g multiple UPDATE on the same line on 2 different transaction ?
For example in the first transaction
```
UPDATE MYTABLE SET COLUMN1 = 'value1'
```
And in the second transaction, the update is locked by the first one.
```
UPDATE MYTABLE SET COLUMN1 = 'val... |
2018/03/08 | 741 | 2,742 | <issue_start>username_0: I want to add stock data on a product but it doesn't work. In my function, I have a product created by :
```
$product = $objectManager->create('Magento\Catalog\Model\Product');
```
Then, I set some data like price, status, name, ... And eventually, I add a code for the stock :
```
$product... |
2018/03/08 | 470 | 2,078 | <issue_start>username_0: Recently i looked into reinforcement learning and there was one question bugging me, that i could not find an answer for: How is training effectively done using GPUs? To my understanding constant interaction with an environment is required, which for me seems like a huge bottleneck, since this ... |
2018/03/08 | 609 | 2,385 | <issue_start>username_0: Dear StackOverflow community,
Could you please advise me with a Batch code for the following scenario:
>
> To find the folders named "Autoname" if they exist, and delete their
> host folders (X), folder itself (Autoname) and all the files inside.
>
>
> (X ) folders may have any names
>
>... |
2018/03/08 | 466 | 1,417 | <issue_start>username_0: I'm about to write a backtesting tool and so for every row I'd like to have access to all the dataframe till the given row. In the following example I'm doing it from a fixed index using a loop. I'm wondering if there is any better solution.
```
import numpy as np
import pandas as pd
N
df = pd... |
2018/03/08 | 501 | 1,570 | <issue_start>username_0: I have a label I need styled depending on the state of the checkbox inside. Unfortunately I am constrained about changing the html structure! (Last resort is a javascriptsolution).
Is it even possible with a html structure as below
```css
.like-this {
border: 1px solid black;
background... |
2018/03/08 | 1,096 | 4,045 | <issue_start>username_0: I am trying to implement an online recursive parallel algorithm, which is highly parallelizable. My problem is that my python implementation does not work as I want. I have two 2D matrices where I want to update recursively every column every time a new observation is observed at time-step t.
M... |
2018/03/08 | 903 | 2,672 | <issue_start>username_0: Good day !
I am having some trouble comparing values inside lists that are inside a dictionary.
```
{'lst_4':['New York', 'Amsterdam', 'Berlin'],'lst_5':['New York', 'Brussels',
Rome'],'lst_6':['Helsinki', 'Stockholm', Milan']}
```
The final goal is to compare the first item in each list, i... |
2018/03/08 | 986 | 3,040 | <issue_start>username_0: I want to make a script that send me mail whith the content of what I've enterd in a form some days after the form is submitted. As a help for students to study. In the form enter what to study, then 1 day, 7 days and 28 days later get that in a mail.
I've made a form that collect time, recipi... |
2018/03/08 | 652 | 2,395 | <issue_start>username_0: Logically this code looks fine to me but is not working as intended when i run the code the animation does not activate or deactivate. I put the qwerty int in there for testing purposes.
```
void WaitingForPipe () {
qwerty = 1;
PipeEntry.GetComponent ().enabled=true;
Wait ();
qwe... |
2018/03/08 | 587 | 2,000 | <issue_start>username_0: Which debugger should I use to display the value of variables at each call/step. I have the following sample code:
```
def sample_func1(a, b):
c = a + b
print(c)
a = 10 + b
b = 20 - a
print(a, b)
def sample_func2(x, y):
z = x - y
print(z)
p = 10
q = 20
d = sample_f... |
2018/03/08 | 1,333 | 4,654 | <issue_start>username_0: I have been into CSS for quite a while now, but `srcset` and `sizes` for the image element confuse me. Here is an example that I thought would work.
```

```
The idea is to have an image that's 100% of the viewport until the viewport is 1280px ... |
2018/03/08 | 1,107 | 4,609 | <issue_start>username_0: I want to log complex type object in c# and to use log4net for logging. What is the correct approach to do this?I use filelogappender.So I want to see my entity in log.Should I do it to use stringbuilder class and convert my entity to string or serialize it to json or is log4net has a ability t... |
2018/03/08 | 576 | 2,159 | <issue_start>username_0: I am doing multiple calls to different api's on my cron job, like:
```
foreach ($transactions as $transaction) {
$job = (new SendApplicationToBank($transaction));
$this->dispatch($job);
}
```
One transaction has many banks so I am sending a transaction to all banks related:
Job:
``... |
2018/03/08 | 994 | 3,246 | <issue_start>username_0: I have an array called rows of type TestEvent, and want to push to the array, i cant get to output the object i pushes it only shows undefined
As you can see this.rows shows the arrays, but when i try to output a spesific array this.rows[0] i get undefined.
(Typescript 2.7, Angular 5)
I've tri... |
2018/03/08 | 456 | 1,312 | <issue_start>username_0: I want to sum up each i array and store it as an element of a new array.
I expect to get int[] sumUp={10,30}
What am I doing wrong?
My result is instead {0,10}
```
int[][] matrixOne= {{1,2,3,4},{10,20}};
int [] sumUp=new int[matrixOne.length];
int toSum=0;
for(int i=0;i
```<... |
2018/03/08 | 1,721 | 7,099 | <issue_start>username_0: I'm trying to serialize a class on which I can't touch anything. The problem is I want to ignore some *getWhatever()* getter methods, but I can't mark the getter method with *@JsonIgnore*, as that would mean touching the DTO class.
That serialization is being made from a *@RestController* met... |
2018/03/08 | 670 | 2,653 | <issue_start>username_0: I am loading Invisible reCAPTCHA dynamically for every form with button that has class `g-recaptcha` .
Problem that I have is that captcha is not loading correctly and I am not sure why. I followed documentation on captcha website and I am not sure how and why I got this error:
```
Uncaught ... |
2018/03/08 | 413 | 1,646 | <issue_start>username_0: I have a FastReport data. I want to show the PageFooter only when the number of rows is greater than 32 and hide it if less than 32 rows.
I want a FastReport tips or by Delphi code.
Any help would be appreciated.<issue_comment>username_1: You are missing an important part here. The api widget... |
2018/03/08 | 1,792 | 5,084 | <issue_start>username_0: 1. How to use a while loop to get the numbers that can be divided by 3 between 0 and 100?
2. Then find the average of these numbers?
This is what I thought would work in the first part, but didnt.
```
php
$i = 3;
while ($i < 99 && $i%3==0) {
echo " $i <br /";
$i++;
}
?>
```<issue_com... |
2018/03/08 | 1,010 | 2,433 | <issue_start>username_0: I try but can't find any related topic with my issues.
I request a url and manage to get the content. However, I unable to convert it to pandas dataframe
```
headers = {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Sa... |
2018/03/08 | 1,335 | 4,675 | <issue_start>username_0: In my template I want to display the value (of type number) with commas as a decimal separator instead of dot. I have:
```
{{ data[col.field] }}
```
But this displays the numbers with dots, like "10.3" in both: editor and display mode. What I need is to display the values with comma, like ... |
2018/03/08 | 507 | 1,990 | <issue_start>username_0: I have some tests in my Android project. I run them in Android Studio (using "run" button, not command line) and everything is fine - so I guess configuration is correct. When I try to debug them (again, using "debug" button instead of run), it crashes with "Test framework quit unexpectedly" (a... |
2018/03/08 | 474 | 1,377 | <issue_start>username_0: I want to surround all "E" words in string by spaces using regexp, e.g.
```
'E+Error+E+E+LATTE+E' -> ' E +Error+ E + E +LATTE+ E '
```
My unsuccessful attempt:
```
node> 'E+Error+E+E+LATTE+E'.replace(new RegExp(`(^|\\W)(E)(\\W|$)`, 'gi'), '$1 $2 $3')
' E +Error+ E +E+LATTE+ E '
... |
2018/03/08 | 814 | 3,031 | <issue_start>username_0: I am currently using this code to export the whole sheet, but I would like to only export the rows where a condition is met. In this case in Column 13 there is an "x":
```
Option Explicit
Sub ExportAsCSV()
Dim MyFileName As String
Dim CurrentWB As Workbook, TempWB As Workbook
Set CurrentWB =... |
2018/03/08 | 3,879 | 14,978 | <issue_start>username_0: Rust disallows this kind of code because it is unsafe:
```
fn main() {
let mut i = 42;
let ref_to_i_1 = unsafe { &mut *(&mut i as *mut i32) };
let ref_to_i_2 = unsafe { &mut *(&mut i as *mut i32) };
*ref_to_i_1 = 1;
*ref_to_i_2 = 2;
}
```
How can I do do something bad (*... |
2018/03/08 | 478 | 1,708 | <issue_start>username_0: I want to use the authenticated user's email domain to restrict access to information in firestore.
The only way I could work out how to do it was like this:
```
match /organization-secrets/{org} {
allow read: if request.auth.email.split('@')[1] == org
}
```
Since email adresses can ha... |
2018/03/08 | 1,188 | 4,295 | <issue_start>username_0: I am trying to create a **JSON** document containing an array of objects where each object have a specific "name", so I created this JSON document:
```
{
"forecast": [
"morning": {
"date": "01/10/2018",
"min_temp": "12",
"max_temp": "24",
... |
2018/03/08 | 757 | 2,728 | <issue_start>username_0: Very new to C here and I think I just barely grasp the concept of pointers, but the syntax is a bit confusing so I'm having trouble trying to understand what this expression `x = (char *) &a` means.
Rest of function for reference:
```
#include
int main()
{
int a;
char \*x;
x = (char \... |
2018/03/08 | 647 | 2,359 | <issue_start>username_0: When trying to find prime numbers using Sieve of Eratosthenes algorithm, following code is used. It gives index error when executed.
I cannot find why the index is out of range.
I am using Python 2.7
```
"""
This program will find all the prime numbers up to the entered number using Sieve of ... |
2018/03/08 | 3,045 | 11,915 | <issue_start>username_0: My `UITableView` with custom reusable cells is done but two issues remain:
1. I can create 6 cells but when I add the 7th the app crashes with `Unexpectedly found nil while unwrapping an Optional value` which I really can not understand. The `view` crashes again instantly when I relaunch the a... |
2018/03/08 | 1,707 | 5,914 | <issue_start>username_0: I am trying to create an S3 bucket using
`aws s3api create-bucket —bucket kubernetes-aws-wthamira-io`
It gives this error:
```sh
An error occurred (IllegalLocationConstraintException) when calling
the CreateBucket operation: The unspecified location constraint is
incompatible for the regio... |
2018/03/08 | 251 | 756 | <issue_start>username_0: I have a label like this, I just want to change the data value using jquery, I tried below code but it's not working, any suggestions appreciated
```
$ 0.00
$(trLineItem).find("#lblFilingFee").data("filingfee").val('0.00');
```<issue_comment>username_1: Syntax to add/update value of data is... |
2018/03/08 | 965 | 3,553 | <issue_start>username_0: I'm learning React: totally newbie.
If I save in DB the HTML directly from draft.js (or it's variants always based on it) and then in a view page of my React SPA I retrieve HTML from DB through my API:
QUESTIONS:
* how can I render that HTML?
* dangerouslySetInnerHTML? Or maybe one of this (... |
2018/03/08 | 535 | 2,116 | <issue_start>username_0: Let's pretend that I have an interface A, that I am declaring as a class by following the Angular style guide. This class has many properties, and I want to fetch them names without having to assign any value to them. How can I achieve this ?
**Class A:**
```
export class A {
property1: str... |
2018/03/08 | 575 | 2,075 | <issue_start>username_0: In a spring boot 2 application I'm trying to access actuator endpoint /beans as I did before in Spring boot 1.5.\* applications. But I'm unable to.
Also, I don't see the endpoint is being created in the log.INFO.
My pom.xml contains:
```
org.springframework.boot
spring-boot-starter-parent
... |
2018/03/08 | 836 | 2,545 | <issue_start>username_0: How can i stop executing this Javascript after executing?
Usually this problem is caused because of missing return statements in functions. Well, both functions return something. So why does the Skript continue running and what can i do against it?
```
var system = require('system');
var args... |
2018/03/08 | 2,566 | 7,813 | <issue_start>username_0: I am creating this program as part of an assignment for college. The objective is to copy `char* slogan = "Comp10120 is my favourite module";` to a new string while removing consonants and capitalising all letters. This is my code:
```
#include
#include
#include
void printStrings();
char ... |
2018/03/08 | 759 | 2,151 | <issue_start>username_0: I have a dataframe like this:
```
ID day purchase
ID1 1 10
ID1 2 15
ID1 4 13
ID2 2 11
ID2 4 11
ID2 5 24
ID2 6 10
```
Desired output:
```
ID day purchase Txn
ID1 1 10 1
ID1 2 15 2
ID1 4 13 3
ID2 2 11 1
ID2 4 11 2
I... |
2018/03/08 | 696 | 2,191 | <issue_start>username_0: Using scripting in Enterprise Architect I can create diagram Use Case of UML:
```
testElement = subPackage.Elements.AddNew( "New diagram", "Use Case" );
testElement.Update();
```
But how to create non-UML diagram? It's about second parameter of AddNew function. In documentation, there is
> ... |
2018/03/08 | 630 | 1,941 | <issue_start>username_0: I have an integer that contains a hexa value. I want to extract the first characters from this hexa value like it was a String value but I don't want to convert it to a String.
```
int a = 0x63C5;
int afterMask= a & 0xFFF;
System.out.println(afterMask); // this gives me "3C5" but I want to get... |
2018/03/08 | 878 | 2,831 | <issue_start>username_0: One of my migration file vanished to blue sky ♂️ I'm gonna need to rewrite it manually I guess.
This is what I have in schema.rb for that table
```
+ create_table "collections", force: :cascade do |t|
+ t.string "title"
+ t.string "description"
+ t.bigint "designer_id"
+ t... |
2018/03/08 | 1,000 | 2,965 | <issue_start>username_0: Q)After executing the code Need to print the values [1, 12, 123, 2, 23, 3, 13], but iam getting [1, 12, 123, 2, 23, 3]. I have missing the letter 13. can any one tell me the reason to overcome that error?
```
def get_all_substrings(string):
length = len(string)
list = []
for ... |
2018/03/08 | 890 | 2,756 | <issue_start>username_0: I have the following table in an Oracle database:
```
Table - TEST_TABLE1
FIELD_1 FIELD_2 FIELD_3 FIELD_4 FIELD_5
-------------------------------------------------
NA 123 NA NA NA
```
I have to check the column name from last column to first column who ... |
2018/03/08 | 875 | 2,697 | <issue_start>username_0: 1. How to correctly output all links on this news website? (in list form)
2. After output in list form, how can I return the result randomly (3~5 links a time)
note: the code I need starts from line 739 (nearly it may change a bit cause it refresh everyday)
```
div class="abdominis rlby clear... |
2018/03/08 | 894 | 3,461 | <issue_start>username_0: I have read the Firebase docs, and am wondering how Firebase rules affect a user's experience within an app. Let's say you can only access a group if you are apart of that group as per your Firestore rules. So would you instead of querying all groups where member.uid == auth.uid ( like you woul... |
2018/03/08 | 912 | 3,349 | <issue_start>username_0: Let us suppose we have these 2 methods:
```
function superFunction($superhero,array $clothes){
if($superhero===CHUCK_NORRIS){
wear($clothes);
} else if($superhero===SUPERMAN) {
wear($clothes[1]);
}
}
function wear(array $clothes)
{
for($piece in $clothes){
ec... |
2018/03/08 | 469 | 1,705 | <issue_start>username_0: I am trying to get a good understanding of how to work with promises, mostly because I want to query data and then use that data to query other data
I have this Schema :
```
var serviceSchema = new Schema({
name: String,
});
```
And this method on it :
```
serviceSchema.statics.getIdByName... |
2018/03/08 | 332 | 963 | <issue_start>username_0: I'm trying to build phalcon-2 on centos 6.9. php is 5.3.3, gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-18)
```
yum install -y httpd php php-mysql php-devel git gcc libtool pcre-devel
unzip
wget https://github.com/phalcon/cphalcon/archive/phalcon-v2.0.13.zip
unzip phalcon-v2.0.13.zip
cd cphalcon-p... |
2018/03/08 | 1,263 | 3,785 | <issue_start>username_0: I am trying to calculate bbox from turf.js like give in the below link
<http://turfjs.org/docs#bbox>
This is my code and how i tried to implement bbox from turf.js But its resulting in an error.
```
import React, { Component } from 'react';
import { View, Text,StyleSheet } from 'react-native... |
2018/03/08 | 571 | 1,896 | <issue_start>username_0: I've been trying to find some help online about FoxPro queries, but seem to be struggling. The closest I've found to my question is this: [Find a Specific Character in a Field and Replace it with a Phrase](https://stackoverflow.com/questions/14283400/find-a-specific-character-in-a-field-and-rep... |
2018/03/08 | 147 | 474 | <issue_start>username_0: `* * * * * python test.py >> logs.log 2>&1`
Above works perfectly
`0 6 * * * * python test.py >> logs.log 2>&1`
Not working. No errors in python code and no cron syntax error.<issue_comment>username_1: If you want to run it every hour it is 0 \* \* \* \* \*.
Your version runs it every day at 6... |
2018/03/08 | 3,270 | 11,556 | <issue_start>username_0: Please help. I'm adding a run and crouch script to the standard FPS character controller and get the following error message: error CS0246: The type or namespace name `CharacterMotor' could not be found. Are you missing an assembly reference?
```
public class RunAndCrouch : MonoBehaviour {
pu... |
2018/03/08 | 819 | 2,873 | <issue_start>username_0: I have these two functions to add a selected emoji to the input field.
However the first click it doesnt show any emoji's, the second click it shows two emoji's and on the third click it shows four emoji's.
Is there any way to fix this?
Thanks.
HTML:
```
[😃](# "smiley")
[😒](# "sadface")
... |
2018/03/08 | 847 | 3,007 | <issue_start>username_0: My project is worked fine but today I have some error about build.gradle file.I searched in google but I didn't find any solution.How can I solve this error?
[error picture](https://i.stack.imgur.com/W6BQV.png)
and this is project build.gradle file
```
buildscript {
repositories {
jcente... |
2018/03/08 | 536 | 2,303 | <issue_start>username_0: I do have a ASP.NET Core 2.0 application with `Microsoft.Extensions.DependencyInjection`.
I added my Context `ApplicationDbContext` to the `Startup.cs` file:
```
services.AddDbContext(options =>
options.UseSqlServer(DefaultConnection));
```
My `ApplicationDbContext` inherits the `DbContex... |
2018/03/08 | 425 | 1,792 | <issue_start>username_0: In order to keep the log file clean and readable, I would like to print metadata according to their level...
e.g. : for debug / warn / error I would like to print metadatas like :file and :line
However for info, I really don't have the need for those informations...
Does it possible to print ... |
2018/03/08 | 486 | 1,617 | <issue_start>username_0: I'm trying to run my tests from the command line by specifying the test suite from the command line. In my pom file, it says "Cannot resolve symbol 'suiteXmlFile' (for ${suiteXmlFile). It works if I specify the name of WebCheckout.xml in the pom file, butI want to be able to run it from the com... |
2018/03/08 | 718 | 2,701 | <issue_start>username_0: Hi Please can you help.
This is my first redux-form
What does this error mean and how do I make it submit?
Where do I put the onSubmit function?
Thanks for the help
```
createReduxForm.js:84 Uncaught Error: You must either pass handleSubmit() an onSubmit function or pass onSubmit as a prop
... |
2018/03/08 | 176 | 649 | <issue_start>username_0: ```
enum States { state1 , state2 };
States var = state2;
```
Can I use address of enum variable in C? For example `fun(&var);`<issue_comment>username_1: Once you create a variable, you have an object on your hands. You can take the address of that object just fine.
What you may not do howe... |
2018/03/08 | 231 | 820 | <issue_start>username_0: *Version 65.0.3325.146 (Official Build) (64-bit)*
---
Going into responsive mode seems to keep desktop view and crop the screen.
All of the preset phone dimensions don't work, but a custom one seems to fix it.
Is this a bug or is there a resolution?
Video of issue: <https://streamable.com/... |
2018/03/08 | 962 | 2,574 | <issue_start>username_0: I have this sort of query:
```
SELECT DISTINCT
k.Key1, k.Key2,
p.Key3, p.Key4,
vp.Key5
FROM [MY_DB].[dbo].[MY_TABLE_1] AS vp
INNER JOIN MY_DB.dbo.MY_TABLE_2 AS k
ON vp.Code1 = k.Key1 AND vp.Code2 = k.Key3
INNER JOIN MY_DB.dbo.MY_TABLE_3 AS p
ON p.Key3 = vp.Code3
WHERE vp.Year = 2018... |
2018/03/08 | 1,046 | 2,928 | <issue_start>username_0: I have a table with following 3 columns. I want to carve out results where **'AlphaCode'** matches and all the values in **'Group1'** have same values in **'Group2'**. For example for the following table, grouping of 1121TA and 1161TA should get carved out and 2807AHQ should be obtained in the ... |
2018/03/08 | 329 | 1,330 | <issue_start>username_0: I'm trying to setup Pipelining using Jenkins. However, my Jenkins instance itself is a container. My goal is to run each layer of my application (frontend, backend, database) using docker, but I don't want to run docker within docker.
Does it make sense to convert Jenkins from a container to a... |
2018/03/08 | 1,062 | 3,120 | <issue_start>username_0: I'm using a reactive form to get user input. Not satisfied with the `EmailValidator` I'm using a pattern.
```
emailRegEx = '^[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$';
this.email = new FormControl('', [Validators.required, Validators.pattern(emailRegEx)]);
```
And the HTML:
```
```
But h... |
2018/03/08 | 1,234 | 3,627 | <issue_start>username_0: Im trying to "talk" to <https://webapi.allegro.pl.webapisandbox.pl/service.php?wsdl> using Perl and SOAP::Lite.
In PHP its as simple as this:
```
$client = new SoapClient('https://webapi.allegro.pl.webapisandbox.pl/service.php?wsdl');
$results = $client-doQueryAllSysStatus(array(
'countr... |
2018/03/08 | 925 | 2,459 | <issue_start>username_0: Assume I have a Pyspark dataframe as shown below. Each user bought one item on some specific date.
```
+--+-------------+-----------+
|ID| Item Bought| Date |
+--+-------------+-----------+
|1 | Laptop | 01/01/2018|
|1 | Laptop | 12/01/2017|
|1 | Car | 01/12/2018| ... |
2018/03/08 | 401 | 1,280 | <issue_start>username_0: I'm having some troubles to figure out how to make an hover to an image that have an absolute href link. I didn't want to put everything inside of the link. What i wanted to achive is when i mouseover the block the image change the state i.e a brightness filter or opacity.
**This is my html**
... |
2018/03/08 | 226 | 840 | <issue_start>username_0: I have `.sidebar` with `width: 25em; margin: 0; padding: 0;`. And on Chrome width = 169.6px, on Firefox width = 260px.
Why? How is the width in firefox considered?<issue_comment>username_1: "em" is a unit based on typography size.
The font size in different browsers might be different (by defa... |
2018/03/08 | 3,219 | 8,436 | <issue_start>username_0: I have form with many inputs. And in JavaScript I have script for open modal window and choose options.
```
$("input[id^='field'][id$='A']").on('click', function() {
$("#bg").fadeIn(400, function() {
$("#modal").fadeIn(400);
});
});
$("#modal img").on('click', function() {
... |
2018/03/08 | 302 | 952 | <issue_start>username_0: I have the following layout and my problem here is that `TextView`only shows 3 lines and no more even for a longer text.
What's my mistake here please?
```
xml version="1.0" encoding="utf-8"?
```<issue_comment>username_1: Try to set [maxlines Attribute](https://developer.android.com/referenc... |
2018/03/08 | 1,328 | 4,044 | <issue_start>username_0: I'm trying to add some features to PHP GD installation. I'm using Docker PHP "Official" release as base (php:7.1.15-fpm-jessie).
My current production environment uses CentOS, which GD module comes with FreeType, JPEG and PNG support, as you can see in the phpinfo output:
```
GD Support => en... |
2018/03/08 | 447 | 1,646 | <issue_start>username_0: I am trying to write reproducible manuscripts in R using the marvelous 'bookdown2' package (as a part of the incredible rrtools package) that are sent to publishers for peer review in .docx format.
After the peer review process, there are usually corrections to be made.
Most of the journals ... |
2018/03/08 | 712 | 2,306 | <issue_start>username_0: What is the purpose of using `WHERE COLUMN like '%[_][01][7812]'` in SQL statements?
I get some result, but don't know how to use properly.
I see that it is searching through the base, but I don't understand the pattern.<issue_comment>username_1: First thing as you might be aware that where c... |
2018/03/08 | 622 | 2,535 | <issue_start>username_0: A WordPress-based website has been developed on an Amazon AWS AMI instance. Let's refer to that site as `http://example.com`. For the purpose of testing changes to the site, from the Amazon AWS EC2 control panel, I stopped the running instance, created an image of it, and then launched a new in... |
2018/03/08 | 691 | 2,149 | <issue_start>username_0: I'm trying to remove file permissions in python. I am aware that the mode to do so is "000." However I'm seeing the removal of file permissions be done with flags as well such as "stat.S\_IRWXO." Can anyone explain what I'm doing wrong
```
import os
import stat
file_path = 'random file'
os.c... |
2018/03/08 | 738 | 2,268 | <issue_start>username_0: Source and target tables structure with data is given below. Source table has transaction type column, base on this column target table rows will be defined. Suppose: source table data are
[](https://i.stack.imgur.com/vjSs3.pn... |
2018/03/08 | 401 | 1,472 | <issue_start>username_0: I would like to find the location of a Git repository I made on my mac. Is there a way to find, for exemple, `albatrocity/git-version-control.markdown` on macOS using the Terminal? I installed everything with default parameters. I guess it must be in the `User` directory but I don't find anythi... |
2018/03/08 | 931 | 3,427 | <issue_start>username_0: I am trying to send following data to my php but program crashes if I put more than one s1 variable.
Java code:
```
//my java code goes here
@Override
protected Map getParams() throws AuthFailureError {
Map params = new HashMap<>();
params.put("s1",max[0]);
params.put("s1",... |
2018/03/08 | 643 | 2,320 | <issue_start>username_0: I'm beginner in android and trying to show toast in the async task, for that purpose I wrote this code:
```
public class GetReading {
public GetReading() {
}
public List Get(String TokenKey, Context adapter) throws ExecutionException, InterruptedException {
GetReadingTask params ... |
2018/03/08 | 1,367 | 3,775 | <issue_start>username_0: This is in reference to question which i have already asked.
[Parse JSON strnig from API in angular](https://stackoverflow.com/questions/49156433/parse-json-strnig-from-api-in-angular)
In this question you can check accepted answer. There it is mentioned that i need to have 100% mapping of in... |
2018/03/08 | 1,657 | 3,873 | <issue_start>username_0: I have several rows of a data.frame which contain calculation rules. Within that string I need to convert text like:
```
"{p500} * 65% >= {q600}"
```
into
```
"{p500} * 0.65 >= {q600}"
```
I'm new to regular expressions, but I think *gsub* would help here.
Can anyone help?<issue_comment>u... |
2018/03/08 | 882 | 3,655 | <issue_start>username_0: I have multiple SQL server tables that are the same, but differ in content. In writing a code first EF6 program I am trying to reuse the same db context for each and pass in the table name to the context constructor.
However, while the constructor is being called every time, the OnModelCreati... |
2018/03/08 | 4,460 | 15,257 | <issue_start>username_0: I just tried intalling flutter and since I already had android studio and the android sdk installed I just followed the installation of flutter. Here is my problem: When I run
```
flutter doctor
```
It tells me
```
[√] Flutter (Channel beta, v0.1.5, on Microsoft Windows [Version 10.0.162... |
2018/03/08 | 368 | 1,414 | <issue_start>username_0: I downloaded a simple java app and I want to know which file I need to run to start. There are several classes in the project and I do not know which one is the main one. Thank you.<issue_comment>username_1: You should have public static void method called "main" taking array of String as param... |
2018/03/08 | 1,176 | 3,802 | <issue_start>username_0: I'm using a C program on Linux to read data from a serial port.
The data to read comes from Code Composer Studio from the line: `UART_writePolling(uartHandle, (uint8_t*) &value, sizeof(float));`
`value` is the float I want to read in C, where `value = 1.5`.
When I read in the data from the s... |
2018/03/08 | 563 | 2,037 | <issue_start>username_0: I am trying to display some text in React JS frontend in place of a profile image when it isn't available.Basically, I pass the current customer name to a function which extracts the first characters of all the words in the name. I am able to display just the name but when I do a function call,... |
2018/03/08 | 622 | 2,124 | <issue_start>username_0: I am trying to use `i18next-json-sync` npm package to sync different language files for my angular2/nodejs project. But the given usage is not working for me.
My lang file structure is:
```
-package.json
-public
|-app
|-assets
|-language
|-en.json
|-es.js... |
2018/03/08 | 1,682 | 5,368 | <issue_start>username_0: I have a code (ol tag) create by my admin area to create a menu in frontend site (view attach img).
The code of my procedure is this(\*):
```
1. item 01
1. sub-Item-01
2. item-02
1. sub-item-02-01
2. sub-item-02-02
1. sub-sub-item-02-02
```
I have to extrapolate the structure as fol... |
2018/03/08 | 776 | 3,100 | <issue_start>username_0: In my symfony application i've got my event\_subscriber
```
CoreBundle\EventSubscriber\CloseIssueSubscriber:
tags:
- { name: doctrine_mongodb.odm.event_subscriber, connection: default }
```
My subscriber simply listen to postPersist and postUpdate events:
```
public func... |
2018/03/08 | 482 | 1,572 | <issue_start>username_0: I have a div which contains an anchor tag as below.
```
[Click Here](#)
```
For some reasons I cannot set id or class on anchor tag and there is a attribute `type` in the anchor tag.
I have a CSS class
```
.selected {
background: rgb(41, 41, 59);
color: #fff;
}... |
2018/03/08 | 701 | 2,358 | <issue_start>username_0: I'm creating a function taking one or two shape-lists `A = [x1,y1,c1]` / `B = [x2,y2,c2]` as input. If both shapes A and B are provided, each is used in one respective place A and B. If only one shape (A) is provided, by default the function implicitly uses it on both different places.
I solv... |
2018/03/08 | 683 | 2,557 | <issue_start>username_0: I updated my data grid from Kendo UI React Wrappers to new React package `@progress/kendo-react-grid 0.3.0`. In old jQuery grid version (or wrapped into React components) I was able to manipulate grid header (e.g.: set `columnMenu` `filterable` to `false`) or to define `headerTemplate`.
Docum... |
2018/03/08 | 616 | 2,438 | <issue_start>username_0: this <https://theethereum.wiki/w/index.php/ERC20_Token_Standard> eth wiki describes erc20 standard as a set of functions and attributes a token needs to have implemented. some of them are pretty self explanatory like
```
function transfer(address to, uint tokens) public returns (bool success)... |