date stringlengths 10 10 | nb_tokens int64 60 629k | text_size int64 234 1.02M | content stringlengths 234 1.02M |
|---|---|---|---|
2018/03/21 | 3,142 | 11,778 | <issue_start>username_0: How do I use DOTGenerator to convert a parse tree to DOT/graphviz format in ANTLR4?
I found [this related question](https://stackoverflow.com/questions/34832518/antlr4-dotgenerator-example) but the only answer uses TreeViewer to display the tree in a JPanel and that's not what I'm after. [This... |
2018/03/21 | 3,926 | 5,361 | <issue_start>username_0: I have this data set, I want to filter the rows that meet at least one requirement, that at least have a value less than 0.001 in any column of padj (padj.1,padj.2 etc.)
```
log2FoldChange padj log2FoldChange.1 padj.1 log2FoldChange.2 padj.2 log2FoldChange.3 ... |
2018/03/21 | 767 | 1,594 | <issue_start>username_0: I have two numbers : 7,8 and 6,8.
When I multiply these numbers I get #VALUE!. I know, this happens because excel thinks, these numbers are strings because of the comma. But i cannot use separator . (point) because in my task, numbers are with , (comma). I tried different number functions, but ... |
2018/03/21 | 996 | 3,114 | <issue_start>username_0: So I have this header given to me
```
int mystrcpy(char *c, const char* s);
```
And I have to implement strcpy function myself. But when I do it and run the program, the console stops working, which I believe is a sign of memory address violation.
I tried this:
```
int mystrcpy(char *c, co... |
2018/03/21 | 1,152 | 4,015 | <issue_start>username_0: I'm trying to test my axios API functions in React.
Found this question here: [how do i test axios in jest](https://stackoverflow.com/questions/45016033/how-do-i-test-axios-in-jest) which pointed to using `axios-mock-adapter`
```
import axios from 'axios';
import MockAdapter from 'axios-mock-... |
2018/03/21 | 3,356 | 11,967 | <issue_start>username_0: I am trying to build my ionic 3 application and deploy and live reload on my device for that reason I am trying following command:
```
ionic cordova run ios --device --prod -lcs
```
But after running that command, I get below error:
```
error: exportArchive: No profiles for 'io.ionic.starte... |
2018/03/21 | 1,107 | 4,113 | <issue_start>username_0: What is the recommended way to essentially embed a List element within another List element?
For Example, here are snippets from my two data model classes so you can see what I'm trying to do:
```
class Person
{
int Id;
string LastName;
string FirstName;
List Orders;
}
```
and
... |
2018/03/21 | 714 | 2,904 | <issue_start>username_0: If a program relies on command line arguments as user input, like for example asking for an amount of shirts to order, a shirt size, and a color selection. I know these values would be stored in `args[0]`, `args[1]`, and `args[2]`. But how would I manage cases in which one or more of those argu... |
2018/03/21 | 816 | 2,527 | <issue_start>username_0: GETTING ERROR for the below macro script. Need extract date, name and address in a single table. Since there is only one value of date, the second value returns null.
However I need the same value to be present in all records of extract date
```
Set ApplicationsNode = oXMLFile.SelectNodes("... |
2018/03/21 | 8,006 | 18,170 | <issue_start>username_0: In Visual Studio I am able to make a connection to Jira witch returns the string (shortened to one instance for the example)
```
"expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
"id": "15237",
"self": "https://companyName.atlassian.net/rest/agi... |
2018/03/21 | 498 | 1,949 | <issue_start>username_0: I'm trying to send s3event message to rabbitmq by invoking AWS lambda function. I have configured SQS as my dead letter queue(DLQ).
I know the message is sent to DLQ when there failure in invocation of lambda or situations like timeouts or resource constraints.
My question is ,I want to send e... |
2018/03/21 | 782 | 2,359 | <issue_start>username_0: Consider this simple program:
`fails.c`:
```
#include
int main(){
int i = 10;
if (i == 10)
int j = 11;
return 0;
}
```
That fails to compile (`gcc fails.c`), giving this error:
```
fails.c: In function ‘main’:
fails.c:7:3: error: expected expression before ‘int’
int j = 11;... |
2018/03/21 | 663 | 2,098 | <issue_start>username_0: I want to check if two svg elements have a certain fill color and then move another svg element. Cant get it to work
```
function calculate() {
var state1 = document.getElementById("#stateButton1"),
maturity1 = document.getElementById("#maturityButton1");
if ((state1.style.fill = "#e1... |
2018/03/21 | 1,128 | 4,428 | <issue_start>username_0: I am trying to add a force touch automation for an iOS App. I looked into the Apple docs for the same problem but cannot find anything useful. We can do the force touch from the assistive touch but I am looking for something as simple as the tap() action. Is there anything that we can use for f... |
2018/03/21 | 1,083 | 4,162 | <issue_start>username_0: I created an empty project.
**Startup.cs**
```
public void ConfigureServices(IServiceCollection services)
{
services.AddLocalization(s => s.ResourcesPath = "Resources");
var supportedCultures = new CultureInfo[]
{
new CultureInfo("de-CH"),
new CultureInfo("en-GB"),... |
2018/03/21 | 973 | 3,923 | <issue_start>username_0: I am trying to get started with mobx-react-forms but am running into an error:
```
Unhandled Rejection (Error): Validation Error: Invalid Field Instance
-> const form = new Form();
```
Here is my code:
```
import React, { Component } from 'react';
import { inject, observer } from 'mobx-... |
2018/03/21 | 1,030 | 3,565 | <issue_start>username_0: [Chrome invalidate a valid manifest](https://i.stack.imgur.com/Jv6cW.png)
While importing valid unpacked extension.
(manifest confirmed by <https://manifest-validator.appspot.com/>)
this error appears, and the extension do not get loaded.
>
> Only one of 'browser\_action', 'page\_action'... |
2018/03/21 | 557 | 1,922 | <issue_start>username_0: I'm working on a refactor where I have to change my classes from hibernate xml to annotations (JPA annotations preferred but hibernate okay). One of my entities uses the hibernate idbag feature combined with the element feature and a join table.
hibernate xml:
```
table\_a\_seq
table\_a\_... |
2018/03/21 | 514 | 1,938 | <issue_start>username_0: I have a `docker-compose` file for running several containers including Logstash. I have mapped the mounted `sincedb` as in the snippet:
```
logstash:
build:
context: logstash/
volumes:
- ./tmp/logstash/sincedb:/usr/share/logstash/sincedb
```
The Logstash container has some permiss... |
2018/03/21 | 631 | 2,489 | <issue_start>username_0: I'm wanting to implement an Observable / Subject with 3 particular attributes
1. Remember last emitted value and be able to surface it via a getter (BehaviorSubject)
2. Only emit when value changes
3. It must have a strong type such that the getter is known to be available by a consumer (aka. ... |
2018/03/21 | 478 | 1,627 | <issue_start>username_0: Suppose I have a file like this:
```
EN;05;UK;55;EN;66;US;87;US;89;EN;66;UK;87;
```
I want remove all the `EN` occurrence, so the final string should be:
```
UK;55;US;87;US;89;UK;87;
```
I can remove the `EN` using `string.Replace("EN", "")` but how to remove also the number?<issue_commen... |
2018/03/21 | 1,757 | 4,466 | <issue_start>username_0: I have a data frame in H2O (called df1.hex) and I am trying to add new columns to this data frame using h2o.cbind. I am using h2o 3.18.0.4.
The code that I have shown below is only a simplified version of what I am trying to do. In reality, I am adding new columns to the df1.hex data frame ba... |
2018/03/21 | 2,044 | 7,419 | <issue_start>username_0: I understand one always needs a message for committing the changes but when and why do I need to also tag a commit? Let's say I made some changes and I commit using
```
git add -A
git commit -m "add feature 1"
```
and now
```
git tag -a -m "includes feature 1" v0.1
```
The question is whe... |
2018/03/21 | 537 | 2,132 | <issue_start>username_0: I am working over a Virtual Machine using Microsoft Azure, and I installed an app into the IIS, however the when I want to replace the files I've transferred via FTP (From my Local computer to a VM folder) the IIS does not refresh the changes. These are the steps I've run:
1. Site -- Add new w... |
2018/03/21 | 394 | 1,626 | <issue_start>username_0: The boost test library supports various logging options, for example: `--log_level=all` or `log_level=test_suite`.
And the `ctest` test driver program has the option `--output-on-failure` which nicely outputs the messages from *boost test*.
Is it possible to enable the above output for *passe... |
2018/03/21 | 735 | 2,396 | <issue_start>username_0: I have a dataframe (table), that includes frequency counts (Freq) of 2 levels (F, I) of a categorical variable (Fert).
>
> table[1:10]
>
>
>
```
FemID Sperm Week Fert Freq
1: 269 High 1 F 4
2: 269 High 1 I 5
3: 273 High 1 F 6
4: 274 High 1 ... |
2018/03/21 | 717 | 2,414 | <issue_start>username_0: I'd like to use a Method defined in the Mongoose Model after saving the retrieved Object to a Session. Its not working though. Is it normal that these methods get lost after storing it to the session?
### Calling Method from Mongoose Model works fine:
```
Puppies.findOne({_id:123}).then(puppy... |
2018/03/21 | 775 | 2,571 | <issue_start>username_0: Below is my JSON
```
[{ "id": "1",
"name" : "rob",
"Lastname":"Xyz"
},
{ "id": "2",
"name" : "xyz",
"Lastname":"abc"
}]
```
I have a form where user will enter his first name and last name, what i am trying to achieve here is to check and see if user input info is availabl... |
2018/03/21 | 2,599 | 7,836 | <issue_start>username_0: There is no overflow property for parent elements. The parent element has a set height. The navigation bar simply won't be sticky no matter what I try. It doesn't work with JavaScript either. I must be missing something. Below is the code. Somebody please tell me what I did wrong:
```css
/* Bo... |
2018/03/21 | 1,005 | 3,550 | <issue_start>username_0: This is a method in a class I have created called Movie.
I changed the code to this now, so it should only return a value when it leaves the for loop, but it is still giving the wrong answer.
```
public int compareTo(Movie other){
String a = this.name.toLowerCase();
String b = o... |
2018/03/21 | 1,659 | 4,582 | <issue_start>username_0: I'm trying to select values that have broken the record high or low values. I'm comparing to a DataFrame that has the high and low values for each day as two separate columns. The end goal is to graph a scatterplot of the (date, value) that are the new record values against a line graph of the ... |
2018/03/21 | 2,584 | 9,809 | <issue_start>username_0: My client is send a post application/json that has a accessToken in the json file. How do I verify the user and get the user id?
Here is my api.php file:
```
php
use Illuminate\Http\Request;
/* API Routes */
Route::get('/user', function (Request $request) {
return $request-user();
})->mid... |
2018/03/21 | 2,621 | 9,999 | <issue_start>username_0: I have a function using the library ngx-translate which returns an observable. So to use it I subscribe to the method and get the value I need. After that I want to do a return but I would like that the return happen after the value has been gotten.
This is my code:
```
test(textePage: string... |
2018/03/21 | 915 | 3,126 | <issue_start>username_0: Trying to test `axios` calls and trying the `moxios` package.
`"axios": "^0.16.2",`
`"moxios": "^0.4.0",`
Found here: <https://github.com/axios/moxios>
Following there example, but my test errors out on the `moxios.install()` line:
```
import axios from 'axios'
import moxios from 'moxios'
i... |
2018/03/21 | 535 | 1,849 | <issue_start>username_0: Current default global logging level is set to **INFO** in *JRE\_HOME/lib/logging.properties* file.
I run the following from the command line to over-ride and set the level to FINE:
```
mvn test -Dtest=ABC -Djava.util.logging.ConsoleHandler.level=FINE
```
And, I use the below in my code:
`... |
2018/03/21 | 927 | 2,678 | <issue_start>username_0: I'm trying to generate a string which looks like this:
```
Nadya's Cell: (415) 123-4567
Jim's Cell: (617) 123-4567
```
where the names and phone numbers vary and need to be interpolated in, and the phone numbers should be aligned. For this example, I've used the following template:
```
... |
2018/03/21 | 725 | 2,969 | <issue_start>username_0: I'm hoping I'm just missing something simple because I've been looking at this for too long, but I'm stumped.
I have a form with inputs bound to vuejs. I have a group of 2 radio buttons for selecting the "gender", and the binding is working perfectly. If I click on either of the radio buttons,... |
2018/03/21 | 785 | 2,416 | <issue_start>username_0: I have two dictionaries:
```
dict1 = {'cm': {'fill': {'user': {'registration': {'flag': 'f'}}}}}
dict2 = {'cm': {'fill': {'user': {'url': 'www.example.com'}}}}
```
The output I want:
```
dict3 = {'cm': {'fill': {'user':{'registration': {'flag': 'f'}}, {'url': 'www.example.com'}}}
```
Here... |
2018/03/21 | 922 | 3,070 | <issue_start>username_0: I have a DateType input in the function. I would like to exclude Saturday and Sunday and get the next week day, if the input date falls on the weekend, otherwise it should give the next day's date
Example:
Input: Monday 1/1/2017 output: 1/2/2017 (which is Tuesday)
Input: Saturday 3/4/2017 outp... |
2018/03/21 | 6,110 | 19,506 | <issue_start>username_0: I have a Play web app that I am working on and I would like to be able to deploy it as a fat jar using sbt assembly. While running the application in debug i have no problems with guice library being recognized as it is added in my build.sbt file: `libraryDependencies += guice`. I have created ... |
2018/03/21 | 260 | 1,020 | <issue_start>username_0: For some reason i just can't get an Amazon Aurora DB launched. I haven't launched one before but have read many Amazon help / instruction pages. Launching other Amazon products did work well after some digging. This one just doesn't. Any suggestions?
Error:
Access denied to Performance Insight... |
2018/03/21 | 551 | 1,859 | <issue_start>username_0: In my increaseCount method I have 3 different ways of increasing the count. I thought the first method could be used twice but it doesn't work as it seems to merge the setState in the callback. What's the proper way to use a callback function and why does the arrow notation work? How is prevSta... |
2018/03/21 | 549 | 1,896 | <issue_start>username_0: I'm creating a online shop. I need to have 3 items per row with some space left over. So my idea was a column of 9 with 3 child columns of. Then I have 3 columns left over from the 9 for whaterever else I choose.
My issue is in a few categories I have 4/5 items. So they all appear on 1 line. H... |
2018/03/21 | 930 | 2,998 | <issue_start>username_0: I am beginning my study in motion, using requestAnimationFrame. I wanted to put a circle on the canvas and then set that circle into motion with a click of a button. I have achieved it, accidentally, with the following code. But I don’t get it. What I was expecting to see with this code was a c... |
2018/03/21 | 845 | 2,366 | <issue_start>username_0: My current json readable format in file is .
`{"delete" : {
"_index" : "production",
"_type" : "listings",
"_id" : "f170321064",
"_version" : 6,
"result" : "deleted",
"_shards" : {
"total" : 1,
"successful" : 1,
"failed" : 0
},
"_seq_no" : 175987,
"_primary_term" : 1,
"status" : 2... |
2018/03/21 | 596 | 1,999 | <issue_start>username_0: I have simple asynchronous application written on `aiohttp`. I need to extend `app` instance on server startup or shutdown, but signals doesn't work at all (the function never executes):
```py
from aiohttp import web
app = web.Application()
async def on_startup(app):
app['key'] = "need t... |
2018/03/21 | 954 | 3,934 | <issue_start>username_0: I'm trying to implement a simple CQRS/event sourcing proof of concept on top of [Kafka streams](https://kafka.apache.org/documentation/streams/) (as described in <https://www.confluent.io/blog/event-sourcing-using-apache-kafka/>)
I have 4 basic parts:
1. `commands` topic, which uses the aggre... |
2018/03/21 | 685 | 2,757 | <issue_start>username_0: I've been trying to assign a value to a variable and then use the same variable and value outside of this switch/case statement.
It says that the variable outside of the `switch` statement is not defined locally, and was wondering if it is possible to make this variable global.
Here is my cod... |
2018/03/21 | 424 | 1,291 | <issue_start>username_0: I'm trying to align a line of text to the bottom of the screen with this code.
```css
body,
html {
height: 100%;
}
div.BottomAligned {
width: 100%;
height: 100%;
display: flex;
align-items: flex-end;
justify-content: center;
overflow: hidden;
}
```
```html
Line1 ... |
2018/03/21 | 443 | 1,412 | <issue_start>username_0: I'm looking to accept date input into a script and running into the conundrum of how to differentiate between 040507 // 04052007 and 050407 // 05042007 when user intends April 5th, 2007 (or May 4th, 2007). The US tends to follow the first form, but other countries the second.
I know I can use... |
2018/03/21 | 360 | 1,188 | <issue_start>username_0: Given a list of scalar values, how can we split the list into K evenly-sized groups such that the groups have similar distributions? Note that simplicity is strongly favored over efficiency.
I am currently doing:
```
sort values
create K empty groups: group_1, ... group_k
while values is not ... |
2018/03/21 | 481 | 1,652 | <issue_start>username_0: In my Spring Boot 1.5.10 application with Spring Data REST and HATEOAS, I have a `ResourceProcessor` bean with an `@Autowired` service, like:
```
@Bean
public ResourceProcessor> orderResourceProcessor() {
return new ResourceProcessor>() {
@Autowired
private OrderHandler orderHandler;
@Ove... |
2018/03/21 | 1,468 | 6,205 | <issue_start>username_0: When using `SERIALIZABLE` transactions to implement a pattern of inserting a value into a database only if it does not already exist, I have observed a significant difference between MySQL and PostgreSQL in their definition of the `SERIALIZABLE` isolation level.
Consider the following table:
... |
2018/03/21 | 347 | 1,059 | <issue_start>username_0: Hi im trying to get an input that is contained in a TD using the `find()` function.
But i'm getting an error.
**This is my code:**
```
var ItxExtend={
CurrentSelectedIds : "",
IsSelected:false,
HiddenFieldId:"",
CurrentSelectedIds:"",
CheckBoxClass:"",
HiddenFieldRowId :"",
DivToInitId :"",... |
2018/03/21 | 739 | 2,708 | <issue_start>username_0: I need to pass a json object to function, which is as mentioned below in a href, but this JS code is not getting evaluated. So can anyone suggest a workaroud or a solution for this?
```
function function_test(option,jsonObj){
displayMessage(str);
}
function function_prepare_div(){
var... |
2018/03/21 | 787 | 2,750 | <issue_start>username_0: Need to create some factory method inside Angular 5 service based on generic type T passed to this service. How to get name of generic type "T"?
```
@Injectable()
export class SomeService {
someModel: T;
constructor(protected userService: UserService) {
let user = this.userService.getLoc... |
2018/03/21 | 1,434 | 5,015 | <issue_start>username_0: I would like to store the initialization values for elements in a tuple inside a separate tuple, so that I can use the same values as a preset for other tuples of the respective type.
It is very important to my program that the constructors of the tuple elements are called in left-to-right or... |
2018/03/21 | 627 | 2,266 | <issue_start>username_0: I'm trying to link three files using g++. The files are `simulation.o`, `lattice.o` and `thermodynamics.o`.
They're a bit long, but the gist of it is. I have a makefile:
```
main: simulation.o thermodynamics.o lattice.o
g++ simulation.o thermodynamics.o lattice.o
... |
2018/03/21 | 822 | 2,799 | <issue_start>username_0: I have a `string s="java"` and a `mapM`. `M` contains
`(Cpp,1), (jAvA,2), (Cobol,3)`. I have to check if `string s` matches (case insensitive) with any key in map. `Is there any better way than iterating through entire map and check for each record`? In this example string s should match with ... |
2018/03/21 | 1,053 | 3,595 | <issue_start>username_0: Mac here, running Docker Community Edition Version 17.12.0-ce-mac49 (21995).
I have Dockerized a web app with a Dockerfile like so:
```
FROM openjdk:8
RUN mkdir /opt/myapp
ADD build/libs/myapp.jar /opt/myapp
ADD application.yml /opt/myapp
ADD logback.groovy /opt/myapp
WORKDIR /opt/myapp
EXP... |
2018/03/21 | 536 | 2,039 | <issue_start>username_0: I have created a simple task based on the Google Cloud Platform ["update counter" push task example](https://github.com/GoogleCloudPlatform/python-docs-samples/tree/master/appengine/standard/taskqueue/counter). All I want to do is log that it has been invoked to the Stackdriver logs.
```
from ... |
2018/03/21 | 1,005 | 3,051 | <issue_start>username_0: I am trying to iterate over an array that's similar to the below structure, and for each object that has the same id, I want them combined into a single object but with an array of all the 'names' associated with that id. My Array is pre-sorted by id and I can't use JQuery, only vanilla JS.
Co... |
2018/03/21 | 1,032 | 3,554 | <issue_start>username_0: I'm working on creating an `SCNNode` instance that consists of an `SCNPlane` - type geometry, with a video playing on the surface of the node. This is what I have so far:
```
let plane = SCNPlane(width: 5, height: 5)
node = SCNNode(geometry: plane)
GlobalScene.shared.rootNode.addCh... |
2018/03/21 | 595 | 2,085 | <issue_start>username_0: I am looking to convert an array of one type to another.
As an example, let's say we have an array of type `byte` and would like a new array of type `logic [5:0]`.
I am having difficulty doing this while not trying to lose data.
Thanks,
George<issue_comment>username_1: With the help of this... |
2018/03/21 | 798 | 2,907 | <issue_start>username_0: I have this query that returns a list of student objects:
```
query = db.session.query(Student).filter(Student.is_deleted == false())
query = query.options(joinedload('project'))
query = query.options(joinedload('image'))
query = query.options(joinedload('student_locator_map'))
query = query.o... |
2018/03/21 | 678 | 2,372 | <issue_start>username_0: I have two `UserControl` with just one/two textblocks.On my window, i add the first `UserControl` couple o' times in a for each loop and the 2nd user control,i just add it in the end,which mean i have only 1 `UserControl2`.
```
public class test
{
UserControl1 btn = new UserControl1;
privat... |
2018/03/21 | 385 | 1,251 | <issue_start>username_0: ```
CREATE TRIGGER printMoneyUSA
AFTER UPDATE ON USA
REFERENCING
OLD ROW AS old
NEW ROW AS new
FOR EACH ROW
BEGIN
IF old.SUPPLY_OF_CURRENCY = 0 THEN
SET new.SUPPLY_OF_CURRENCY = 30000000000;
END IF;
END;//
```
Hello, I keep getting a syntax error f... |
2018/03/21 | 696 | 2,426 | <issue_start>username_0: ```
* [Heading](#)
* [Heading Long](#)
```<issue_comment>username_1: You can use [onorientationchange](https://developer.mozilla.org/en-US/docs/Web/Events/orientationchange) event like the following:
```js
methods: {
detectOrientationChange() {
switch(window.orientation) {
... |
2018/03/21 | 657 | 2,425 | <issue_start>username_0: I'm looking to write a PowerShell script which validates whether a list of emails within a file are valid against the Active Directory forest. I have a script which works for my specific domain, but it doesn't find emails associated to other domains within the corporate forest.
```
foreach($li... |
2018/03/21 | 675 | 2,761 | <issue_start>username_0: I'm trying to determine if there's a practical way to prevent duplicate rows from being inserted into a table using Azure SQL DW when the table already holds billions of rows (say 20 billion).
The root cause of needing this is that the source of the data is a third party that sends over suppos... |
2018/03/21 | 1,231 | 4,072 | <issue_start>username_0: The `ndiff` function from `difflib` allows a nice interface to detect differences in lines. It does a great job when the lines are close enough:
```
>>> print '\n'.join(list(ndiff(['foo*'], ['foot'], )))
- foo*
? ^
+ foot
? ^
```
But when the lines are too dissimilar, the rich reporti... |
2018/03/21 | 1,132 | 3,700 | <issue_start>username_0: I have this function in my user.rb Model :
```
def change_key
self.public_key = params[:public_key]
end
```
I want to call this function from a script on Views (new.html.erb) like this :
```
change_key(x);
```
and I want self.public\_key to get the x value
The result I get is :
>
> u... |
2018/03/21 | 873 | 3,453 | <issue_start>username_0: I cannot find documentation on how to invoke onChange for radio buttons using react-bootstrap. I left out the button which submits the form. It works with every other field, like text inputs, so I left that out.
For each, teacherRate and overallRate, each radio button has a value of 1, 2, 3 bu... |
2018/03/21 | 403 | 1,580 | <issue_start>username_0: When I tried to display a related object in Twig, and that relation is not present because the ID is in the parent entity, but the related entity was not in the current database, Symfony throws a 500 error
>
> // EntityNotFoundException Twig\_Error\_Runtime
> An exception has been thrown dur... |
2018/03/21 | 919 | 3,346 | <issue_start>username_0: Working on getting development environment setup in Minikube and ran across an issue pulling images from the `https://quay.io/v2/` registry.
I have ran the command:
`eval $(minikube docker-env)` .
Which allows me to build my local `Dockerfile` in Minikube and it does a great job with tha... |
2018/03/21 | 555 | 1,988 | <issue_start>username_0: I am currently doing a little project which involves using a pre-defined function I graphed the function, and I am trying to find an x-value answer using a provided y-coordinate. I'm sure there may be other ways, but I must use this particular function. Below is what I currently have:
```
F[L_... |
2018/03/21 | 695 | 2,645 | <issue_start>username_0: I wrote a simple PowerShell script to retrieve a list of servers' last boot time and output the results to grid view. The results are immediately shown in the grid window but and comes to a short pause whenever a server is not responding to the get command, either due to WMI not running or clas... |
2018/03/21 | 685 | 2,469 | <issue_start>username_0: How do I return the human readable element of a Choice field in a Serializer Class. Sample code below.
```
from rest_framework import serializers
from model_utils import Choices
from django.utils.translation import ugettext_lazy as _
COMPANY_TYPE = Choices(
(1, 'Public', _('Public Compa... |
2018/03/21 | 952 | 3,161 | <issue_start>username_0: I'm trying to find a way to password protect an entire Joomla site before going live the with site, with a temporary login page. I cannot do it in Joomla CMS for various reasons.
So I'm trying to find a way in .htaccess or in Apache `/etc/apache2/sites-available/example.com.conf`
I have root ... |
2018/03/21 | 482 | 1,815 | <issue_start>username_0: I am trying to verify if the state of a check box is checked or not if the state is false click if not do something else. Should i use .getAttribute() or .getState(). I think I should use get state.
```
WebElement checkbox = driver.findElement(By.name("companyOptionsForm:mandateVerificationTo... |
2018/03/21 | 224 | 795 | <issue_start>username_0: ```
$ git checkout sidebar
fatal: unknown style 'diff5' given for 'merge.conflictstyle'
```
I am trying to change branch in my Git repository. Why do I get this error? How to fix it?<issue_comment>username_1: **`diff5` is not a valid setting for `merge.conflictstyle`.**
You should use `merge... |
2018/03/21 | 512 | 1,721 | <issue_start>username_0: I am learning angular ionic and currently attempting to use the angular forms, FormGroup, and FormBuilder features to validate some form data.
I have four fields that I would like to validate in relation to one another, but I am not sure how to write a validator that can see the value of othe... |
2018/03/21 | 1,905 | 6,855 | <issue_start>username_0: I'm trying to execute a [Python script](https://pastebin.com/jSjn1aaD), but I am getting the following error:
```
Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
```
I'm using python 3.5.2 on a Linux Mint 18.1 Serena OS
Can someone tell me why this happens, and how c... |
2018/03/21 | 790 | 2,581 | <issue_start>username_0: This is an additional question regarding the [original answer](https://stackoverflow.com/questions/22016509/change-parent-div-height-depending-on-child-absolute-div-height-using-javascript) (before the top positioning broke it) found at the bottom.
My problem is that once the css property `to... |
2018/03/21 | 913 | 3,353 | <issue_start>username_0: ```
class Cities(models.Model):
city_main_image = models.FileField()
city_name = models.CharField(max_length=200)
city_info = models.CharField(max_length=1000)
city_images = models.FileField()
```
In my models.py I have Cities class and I want to upload several images for ... |
2018/03/21 | 1,308 | 4,572 | <issue_start>username_0: I have a table `MAIN` which has duplicates on `ID` field as below:
```
ID SYSTEM FLAG FIRST_NAME LAST_NAME TERMDATE
A021 Alpha Y JOHN DOE null
A021 Beta N JOHN DOE 05-Jun-17
C045 Beta Y PETER PARKER ... |
2018/03/21 | 997 | 2,923 | <issue_start>username_0: I am trying to find the number of distinct numbers from input which are not equal to 0. n is in 1-100 range. The numbers in the array are in the 0-600 range.
<http://codeforces.com/problemset/problem/937/A>
For this question, I wrote a code:
```
#include
#include
int main(void)
{
int n, co... |
2018/03/21 | 1,615 | 5,337 | <issue_start>username_0: I am using ASP.NET Core 2.0 with Microsoft.AspNetCore.SignalR (1.0.0-preview1-final).
I have an issue deploying my application using IIS (with Kestrel).
When I run the server in localhost using IIS Express, everything works as expected, but when I try to run on IIS (Windows server or local ho... |
2018/03/21 | 651 | 2,236 | <issue_start>username_0: I am creating a package that goes through a few folder paths and loads excel files. The file paths for the excel files are as follows. The files are located in "a" folder which is named the same from year to year, however, the "xy\*" folder name changes depending on the year. So I want SSIS to ... |
2018/03/21 | 579 | 2,000 | <issue_start>username_0: I'm using the below config in nginx to proxy RDP connection:
```
server {
listen 80;
server_name domain.com;
location / {
proxy_pass http://192.168.0.100:3389;
}
}
```
but the connection doesn't go through. My guess is that the problem is `http` ... |
2018/03/21 | 1,910 | 6,634 | <issue_start>username_0: I am trying to use iText 7.1.1 to convert a TIFF image to PDF file with multiple pages. Thanks for those to get me started with this article [Create PDF from TIFF image using iText](https://stackoverflow.com/questions/7721447/creating-pdf-from-tiff-image-using-itext/13345673#13345673). However,... |
2018/03/21 | 1,821 | 6,110 | <issue_start>username_0: I have the following dataset:

I want to go through the ID's in the `action_ID` column and check if it is in the `value` column. If it is, I want to see if the associated variable is a `Comment` or not. If it is a `Comment`, I will add 1 to the c... |
2018/03/21 | 1,008 | 3,649 | <issue_start>username_0: I am trying to troubleshoot an old TCL accounting script called GOTS - Grant Of The System. What it does is creates a time stamped logfile entry for each user login and another for the logout. The problem is it is not creating the second log file entry on logout. I think I tracked down the area... |
2018/03/21 | 366 | 1,406 | <issue_start>username_0: Im not sure how to express it so I posted a picture in link below.
[It should look like this](https://i.stack.imgur.com/5Hxbr.png)<issue_comment>username_1: >
> Does anyone have any idea what could be interfereing with PostSession/default?
>
>
>
Could it be that you are hitting [Bug 851769... |
2018/03/21 | 632 | 2,296 | <issue_start>username_0: I'm specifically talking about the Tag model, which I have no much experience with. The code goes like this:
```
@register_snippet
class ArticleTag(index.Indexed,Tag):
class Meta:
proxy=True
search_fields = [
index.SearchField('name', partial_match=True),
index.SearchField('slug'... |
2018/03/21 | 937 | 3,436 | <issue_start>username_0: I am trying to make another div right under the existing div in the HTML
```
Media Player
makeOscarPlayer(document.getElementById("my-video"))
Hello!
function makeOscarPlayer(){
var div = document.createElement("div");
div.innerHTML = `
hello
`
}
```
can someone explain to... |
2018/03/21 | 1,190 | 4,201 | <issue_start>username_0: I want to add a dialog to my application, but for some reason it is not showing.
The dialog component:
```ts
import { Component, OnInit } from '@angular/core';
import {MatDialogRef} from "@angular/material";
@Component({
selector: 'app-connect-to-player-dialog',
templateUrl: './connect-t... |
2018/03/21 | 1,031 | 4,062 | <issue_start>username_0: I have two models where `employee` have relation with `person` model but `person` have no relation with `employee` model.
Like:
```
class Person(models.Model):
name = models.CharField(max_length=100)
address = models.CharField(max_length=100)
class Employee(models.Model):
person ... |
2018/03/21 | 351 | 1,157 | <issue_start>username_0: I am learning MySQL and stumbled upon a problem after installation of MySQL. I switched to sql mode and from there I tried to connect to root@localhost but after I inputted the password, it says there is no such Host. I tried other host names, but the same results show where it says
>
> ERROR... |
2018/03/21 | 1,266 | 4,930 | <issue_start>username_0: It is possible to change table names of the IdentityUser, IdentityRole,... tables.
See [How can I change the table names when using Visual Studio 2013 ASP.NET Identity?](https://stackoverflow.com/questions/19460386/how-can-i-change-the-table-names-when-using-visual-studio-2013-asp-net-identity... |