date stringlengths 10 10 | nb_tokens int64 60 629k | text_size int64 234 1.02M | content stringlengths 234 1.02M |
|---|---|---|---|
2018/03/01 | 544 | 1,966 | <issue_start>username_0: My Asyc call is running after the data is rendered I tried running my Asyc call inside constructor and even inside componentDidMount but nothing worked.
**My db structure..**
[](https://i.stack.imgur.com/u9hkL.png)
**My query... |
2018/03/01 | 134 | 501 | <issue_start>username_0: Can anyone tell me where I can find it (or what's the workaround) ?
In PgAdmin III it is in "Plugins".
I need it in order to \copy.<issue_comment>username_1: This feature is yet to be implemented and already in queue.
Feature request: <https://redmine.postgresql.org/issues/2341>
There is no... |
2018/03/01 | 1,497 | 6,311 | <issue_start>username_0: I'm using asp.net + Autofac.
I'm trying to load a custom JSON configuration file, and either create/instance an IConfiguration instance based on that, or at least include my file into whatever IConfiguration asp.net builds by default.
My problem is that asp.net seems to override the dependenc... |
2018/03/01 | 891 | 2,828 | <issue_start>username_0: My input array of objects it is like this, I have an input array that looks like this :
```
[{"id": 657, "name": "<NAME>", "contenttype": "province"}
{"id": 1173, "name": "Amazonas Basin", "contenttype": "province"}
{"id": 373, "name": "American Samoa", "contenttype": "countries"}
{"id": 1, "n... |
2018/03/01 | 661 | 2,204 | <issue_start>username_0: I want to remove space for empty div in bootstrap. I have a container with dynamic value. some time I may have a empty div with bootstrap class.how to remove the space for empty div.I want to to remove the space for empty column (column 1)
```js
jQuery(document).ready(function($) {
$('.test'... |
2018/03/01 | 650 | 2,298 | <issue_start>username_0: I have a dataframe `df` with the following schema:
```none
root
|-- city_name: string (nullable = true)
|-- person: struct (nullable = true)
| |-- age: long (nullable = true)
| |-- name: string (nullable = true)
```
What I want to do is add a nested column, say `car_brand` to my `p... |
2018/03/01 | 583 | 2,134 | <issue_start>username_0: I am using `SWRevealViewController` for menu on the left, I want to change the default animation and make Fade-Out animation. I tried with the delegate they have as below but it didn't work out.
```
func revealController(_ revealController: SWRevealViewController!, animateTo position: Fron... |
2018/03/01 | 591 | 1,670 | <issue_start>username_0: I am trying to get commits that exist in branch A, but does not exist in branch B. I thought these two commands will give me the same result, but they don't.
```
git rev-list A ^B --no-merges | wc -l
git log A ^B --no-merges | wc -l
```
The first one gives me 370, while `log` returns 8000. ... |
2018/03/01 | 537 | 1,554 | <issue_start>username_0: Trying to make list 1, into list 2 shown in the code below by removing the brackets and commas within the brackets so I can use the strings for SQLite select queries:
```
[('<NAME>',), ('<NAME>',), ('<NAME>',), ('<NAME>',), ('<NAME>',)]
['<NAME>', '<NAME>', '<NAME>', '<NAME>', '<NAME>']
```<i... |
2018/03/01 | 268 | 1,053 | <issue_start>username_0: I want to call a function which I call currently with each page-load ALSO with a click of the element `#call-button`. This is my current function:
```
window.addEventListener("load", function() {}
```
I hope a wrong solution clarifies a bit what I mean. So I am asking how to do that one here... |
2018/03/01 | 504 | 1,776 | <issue_start>username_0: I have trained a CNN model for predicting 0/1 values and using google ml-engine local predict for testing it. My test file contains 2 lines:
```
some text
"some text"
```
and I know that this should give me 1 and 1 as predicted result. But output is 1 and 0. So double quotes matter for some ... |
2018/03/01 | 873 | 2,910 | <issue_start>username_0: I have a list/array **str4** in python, I want to access it with a variable which I strongly believe is an int because I test it with the function **isdigit()** and I also made a manual debug and checked that all the option come out correctly with the only number.
```
temp = "variableX"
file2 ... |
2018/03/01 | 653 | 2,202 | <issue_start>username_0: I have created a custom doctype in ERPNext v10^, but the problem is; created doctype shows in doctype list but it's related form doesn't exist.
ERPNext is in production mode and the option 'custom' is by default checked.
Thanks in advance<issue_comment>username_1: You checked if string posArr... |
2018/03/01 | 477 | 1,506 | <issue_start>username_0: I am looking for a solution to this problem:
consider a function f (x) = 2x + 1, with x belonging to [0, 1000]. Draw the representative curve of f as a function of x, so that if ||f (x)|| <3 the representative curve of f is in red color and else represent the curve of f in blue color.
Help me... |
2018/03/01 | 973 | 3,040 | <issue_start>username_0: I have a table `Follow`, which only holds records of which `UserID` follows which `TargetID`.
If asked for user A:
* If neither A or B are following eachother, they have status of `0` for **unrelated**, and aren't included in the results.
* If user A is following B but not vice versa, B has ... |
2018/03/01 | 1,945 | 6,077 | <issue_start>username_0: I am doing an assignment. I have done the code but when I look back, I found that I have missed the one entering the score into valid and invalid stack.
So have I tried to modify the code but the modified code will compile but not run. I don't know why. Can someone help me. Thanks a lot.
``... |
2018/03/01 | 4,403 | 14,550 | <issue_start>username_0: I was recently doing an interview and was asked multiple questions, one of the questions was this and I had a bit of trouble trying to answer it.
Given a string, find the longest occurrence of vowels "aeiou" that appear.
The substring of vowels do not have to be consecutive, and there can be... |
2018/03/01 | 760 | 2,889 | <issue_start>username_0: I have a async method for Send notification purpose. but i am not set await keyword while invoking the method. because no need to wait for the response to me.
But, it says, Warning.
[](https://i.stack.imgur.com/vGvy2.png)
Whe... |
2018/03/01 | 718 | 2,331 | <issue_start>username_0: i have some deployment issues with deployment of my firebase functions, I can see that is a problem with npm, i have tried with 5 different versions of npm while running as admin but it still doesn't work, anyone got an idea og what is wrong? i have added the cmd print and the npm log
![enter ... |
2018/03/01 | 216 | 614 | <issue_start>username_0: I got error here while adding these two variables.This is the code i have tried.
```
echo " |";
```
This is the error i got.
>
>
> ```
> 1600' />
>
> ```
>
>
But I actually need the total for two variables.
```
proceed to pay 4323
```<issue_comment>username_1: You need to sum the... |
2018/03/01 | 484 | 1,562 | <issue_start>username_0: I have a following dictionary of enums:
```
private readonly SortedDictionary mapping = new SortedDictionary
{
{ Fruit.Apple, Vitamin.A},
{ Fruit.Banana, Vitamin.B},
{ Fruit.Orange, Vitamin.C}
};
```
Now I am getting a collection of fruits: `[Fruit.Orange, Fruit.Plum, Fruit.Banana]` and... |
2018/03/01 | 537 | 1,997 | <issue_start>username_0: I have a gradle script with a custom test task:
```
task integrationTest(type:Test) {
jvmArgs '-DmyParam=' + System.getProperty('myParam')
}
```
I want to fail the build with a nice message if the property is missing, but only if my task will be executed. I tried adding
```
task integrati... |
2018/03/01 | 487 | 1,884 | <issue_start>username_0: I want to make multiple sub folders in a folder at once.
[](https://i.stack.imgur.com/TUB3K.png)
Like in image i want to create A->B->C and D inside B all at once without loop. Is there any way to achieve it in C#<issue_comment>username_... |
2018/03/01 | 572 | 2,277 | <issue_start>username_0: I use this library `https://github.com/step-up-labs/firebase-database-dotnet` to retrieve items from firebase, then display it to datagrid in realtime.
But I got stuck when displaying it, based on the link above to get realtime streaming, I need to use this code:
```
var firebase = new Fireba... |
2018/03/01 | 513 | 1,958 | <issue_start>username_0: I have strange error in my angular project. I tried to create relative path to an image. In `app.component.ts` I have code like this:
```
import { Component } from '@angular/core';
@Component({
selector: 'my-app',
templateUrl: './app.component.html',
})
export class AppComponent {
... |
2018/03/01 | 8,413 | 18,850 | <issue_start>username_0: I'm using `transform: scale(); transform-origin: 0 0;` to zoom page content. I'm changing scale when the user scrolls the page and set `transform-origin` based on pointer placement. It' works, but has one problem. If the user moves mouse pointer and scrolls, content jumps to the pointer and zoo... |
2018/03/01 | 725 | 2,192 | <issue_start>username_0: I have a multicast camera on ip 172.16.58.3.
On my computer, I can play video in VLC over LAN card or Wi-Fi.
But when i start playing with ffplayer (ffplay.exe) it looks like it registers to multicast:

and because of that multicast is added to a ... |
2018/03/01 | 315 | 883 | <issue_start>username_0: I have such terrible JavaScript code
```
response.items[0].fields.image.fields.file.url
```
I can convert it to ClojureScipt map, but to access that field I will have to type monstrous unreadable access.
Is there a way to do it nice and elegant way way?<issue_comment>username_1: ```
(-> (age... |
2018/03/01 | 548 | 1,690 | <issue_start>username_0: I changed the permission of /etc accidently and not able to resolve it
```
Sudo Error
-bash-4.2$ sudo su
sudo: unable to stat /etc/sudoers: Permission denied
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin
/etc permissions
lrwxrwxrwx. 1 0 0 7 Oct ... |
2018/03/01 | 1,082 | 3,425 | <issue_start>username_0: Ive two dropdowns for selecting year and month. In month dropdown there is options `JAN,FEB,MAR....DEC and ALL`. In Year `2016,2017,2018,2019,2020`
I need a function which returns first day of that selection. If `2017 and All` selected, it should return **01/01/2017**. If its `2017 and JUL`, t... |
2018/03/01 | 988 | 3,264 | <issue_start>username_0: I have a working example over here:
<https://plnkr.co/edit/g6geH12xCI8EirNvghsW?p=preview>
you can see that if you select "Mark" in the select box it will filter my table and show both:
<NAME>
and
<NAME>
and I only want it to filter on the 2nd column... so show Mark Poet ONLY.
I appreci... |
2018/03/01 | 411 | 1,313 | <issue_start>username_0: I am porting a shader toy shader to Unity GLSL. It's working except I have trouble getting the screen space coordinates I need. What's the equivalent of this:
```
vec2 coord = gl_FragCoord.xy / iResolution.xy;
```
It seems gl\_FragCoord is not available and how do I get the screen size?
Not... |
2018/03/01 | 313 | 1,120 | <issue_start>username_0: Given `EditText et;`
When I programatically call `et.setText("Hello World")` a soft keyboard appears on the screen.
I want to prevent this soft keyboard from showing up. I don't mind if `et` remains focused or not.
I have tried `et.clearFocus();`
I still want to be able to focus on `et` and... |
2018/03/01 | 346 | 1,152 | <issue_start>username_0: i want to create First and third quarter moon on this svg code
```
```
like this
First quarter moon
[](https://i.stack.imgur.com/fLIb2.png)
Third quarter moon
[, Map(5->6), Map(8->9)).toDS()
error: value toDS is not a member of Seq[scala.collection.immutable.Map[Int,Int]]
```
whereas this works:
```
val cd:Dataset[Array[Int]] = Seq(Array(1, 2, 3), Array(100)).to... |
2018/03/01 | 2,185 | 6,355 | <issue_start>username_0: below data is present in "examSheet" collection
```
{"name":"a1", "std":"9", "year":"2017", "exam":"halfyr_T", "marks":[{"p":"45","m":"40","c":"50"}]}
{"name":"a1", "std":"9", "year":"2017", "exam":"halfyr_P", "marks":[{"p":"40","m":"28","c":"38"}]}
{"name":"a1", "std":"9", "year":"2017", "exa... |
2018/03/01 | 565 | 1,927 | <issue_start>username_0: I am trying to send a mail to a large number of client with my XPages application, the application is supposed to create an save an email document then send out the mail to a specific mailing list.
but after sending 10 to 15mails the browser get a timeout and is end the process.
is there any ... |
2018/03/01 | 1,837 | 3,714 | <issue_start>username_0: I am processing outputs from a piece of software that provides co-ordinates as an x, y, z triple in a single column. Is there any way to split the string out into its three separate parts and convert to floats in one fell swoop? For example, I know that I can do the following:
```
import panda... |
2018/03/01 | 811 | 2,789 | <issue_start>username_0: I work on sql server and VB.net
I often use identity(1,1) on int primary key.
But Today I want create a table to replace an enum. I use it in my programm like flags what can be adds (It's an enum about diseases, before I managed few diseases then You can have several diseases... but now I want... |
2018/03/01 | 920 | 2,925 | <issue_start>username_0: I'm trying to have it so that whenever the button is clicked it will then change to the next background image.
```js
var images = [
"http://helenspeyer.co.uk/wp-content/gallery/the-end-of-the-f-ing-world/The-end-of-the-f...ing-world-2-Large.jpg",
"http://helenspeyer.co.uk/wp-content/galler... |
2018/03/01 | 691 | 2,615 | <issue_start>username_0: *TL;DR: Subscription event fires too many times.*
I have a event set up, that gets fired, when real time data comes in through a socket.
Through console logs I figured out, that the real time data correctly only comes in once. The event that gets fired, when the real time data comes in, also ... |
2018/03/01 | 1,129 | 3,987 | <issue_start>username_0: I am running Apollo lambda server for GraphQL. I want to intercept the GraphQL query/mutation from the POST request body and parse it so I can find out which query/mutation the request is asking for. The environment is Node.js.
The request isn't JSON, it's GraphQL query language. I've looked a... |
2018/03/01 | 998 | 3,432 | <issue_start>username_0: Please could someone help me get the branch\_id in each branch from this JSON?
```
{
"branches": {
"1": {
"member_id": "-16",
"branch_id": "1"
},
"2": {
"member_id": "-16",
"branch_id": "1"
}
}
}
```
I am... |
2018/03/01 | 970 | 3,465 | <issue_start>username_0: After entering username and password, showing this eror
>
> Warning: Cannot modify header information - headers already sent by
> (output started at
> /storage/\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*/public\_html/Include/Header.php:1) in
> /\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*/public\_html/user\_logi... |
2018/03/01 | 4,616 | 13,996 | <issue_start>username_0: I use a mongodb sharded and replicated with docker. ( 3 virtual machines hosting 15 containers). My Mongodb cluster is fully functionnal.
Now I try to connect Orion CB on it. Normaly I have to connect it to Mongo routers, but it doesn't works.
Here is my stack file for MongoDB
```
version: "... |
2018/03/01 | 1,388 | 4,935 | <issue_start>username_0: There is a table type:
```
CREATE TABLE categories
(`id` int, `pid` int, `name` varchar(35),
PRIMARY KEY (id)
)
;
INSERT INTO categories
(`id`, `pid`, `name`)
VALUES
(1, 0, 'a1'),
(2, 0, 'a2'),
(3, 0, 'a3'),
(4, 0, 'a4'),
(5, 0, 'a5'),
(6, 3, 'a6'),
(7... |
2018/03/01 | 1,472 | 5,035 | <issue_start>username_0: I'm currently testing a Node.js/Typescript app.
My function should return an array of objects.
Those objects should be of type:
```
type myType = {
title: string;
description: string;
level: number;
categorie: string;
name: string;
};
```
The following code doesn't work
```
cons... |
2018/03/01 | 3,461 | 9,973 | <issue_start>username_0: I have asked this question as part of the [Efficient way to plot data on an irregular grid](https://stackoverflow.com/questions/48952435/efficient-way-to-plot-data-on-an-irregular-grid) question, but the general feedback was to split the original question in more manageable chunks. Hence, this ... |
2018/03/01 | 476 | 1,616 | <issue_start>username_0: I want to run the default Gulp task with VS code by using the inbuilt feature to do so. My tasks.json is as follows:
`{
"version": "2.0.0",
"tasks": [
{
"type": "gulp",
"task": "default",
"problemMatcher": []
}
]
}`
When I run the task with the keyboard shortcut(my keybindings are alr... |
2018/03/01 | 1,275 | 4,801 | <issue_start>username_0: I'm trying to setup puppeteer to run a few performance tests.
I'd like to override the date to a specific value so that I can mock the data my app needs without needing to generate content dynamically based on the date.
How to override the date of the puppeteer browser?<issue_comment>username_... |
2018/03/01 | 1,700 | 5,648 | <issue_start>username_0: I have a main dataframe named raw which looks like this:
`tab:([]date:2018.02.05 2018.02.05 2018.02.06 2018.02.06;time:01:30:25.000 02:30:45.000 04:15:15.000 02:15:15.000;vol:50 55 64 12; name:`A`B`B`A)`
```
date time vol name
2018.02.05 1:30:25 50 A
20... |
2018/03/01 | 606 | 2,054 | <issue_start>username_0: I have a class called Seat as follows:
```
public class Seat {
private String seatType; // E for economy, B for business class
private boolean Available; // false:booked, true:available
public Seat (String seatType, boolean Available) {
this.seatType = seatType;
th... |
2018/03/01 | 1,132 | 3,871 | <issue_start>username_0: I try to loop over all files matching a certain extension, including those inside hidden folders. So far I haven't found a way to do this with `iglob`.
This works for all folder except those starting with a dot:
```
import glob
for filename in glob.iglob('/path/**/*.ext', recursive=True):
... |
2018/03/01 | 2,695 | 9,913 | <issue_start>username_0: I installed Flutter SDK, following steps, provided from this link: [Install on macOS - iOS setup](https://flutter.io/setup-macos/).
But I am unable to create a new sample project in Xcode. I can't find a proper way to start a new project using Xcode.
Here are steps to start a new sample proje... |
2018/03/01 | 455 | 1,739 | <issue_start>username_0: I have a **html canvas** with mouse and touch events to draw on it.
I use css **touch-action: none** style on the canvas to disable scrolling on the device while drawing.
However it only works for **non IOS devices**. On any browser on an IOS device it still does a scroll/swipe action and mak... |
2018/03/01 | 572 | 2,171 | <issue_start>username_0: **So, I have a Model with a prop like this:**
```
public DateTime Date { get; set; }
```
**Im trying to set a default value to this field like this:**
```
modelBuilder.Entity().Property(r => r.Date).HasDefaultValueSql("NOW()");
```
The problem is that the database column default value isn... |
2018/03/01 | 369 | 1,157 | <issue_start>username_0: Please suggest how to remove array field if empty? I have tried below config :
```
if [tags] == [] {
mutate {
remove_field => ["tags"]
}
}
But getting logstash exception:
[2018-03-01T15:07:56,000][FATAL][logstash.runner ] The given configuration is invalid. Reason: Failed to parse right-hand ... |
2018/03/01 | 351 | 1,166 | <issue_start>username_0: it shows to install build tools revision 26.0.2 but the first time it showed I clicked and downloaded it but it was cancelled due to my network error and the second time when I clicked ,it is not downloading
can anybody tell me how to download it ??
[
print(req2.status_code)
print(req2.headers)
```
Where `json_data = req1.json()`
```
url = 'some url'
```
and
```
header = {'Content-Type': 'application/data;charset=UTF-16'}
```
In above code req1 gets a response from a se... |
2018/03/01 | 441 | 1,463 | <issue_start>username_0: Hi, I have two data frames, one containing:-
```
Country Code | Population
```
and another containing:-
```
Country Code | Country Name.
```
I want to do a replace in the first data frame so that CountryCode = CountryName where applicable. Important to note if the lookup failed, i.e. no... |
2018/03/01 | 1,399 | 4,945 | <issue_start>username_0: I'd like to encode `Array[Byte]` fields of my case classes as Base64 strings. For some reason Circe doesn't pick up my codec using default one instead that converts byte array into json array of ints.
What should I do to fix it ? Here is my minimized code
```
import io.circe.generic.JsonCodec... |
2018/03/01 | 676 | 2,357 | <issue_start>username_0: Is there a way I check if the record exist in mysql?
```
Select name FROM test as p
Where (category = 'cat'
OR category = 'dog')
```
What I want to achieve is query name from test table, if category is cat. If there is no record from this query, then query where category is dog.
If categor... |
2018/03/01 | 476 | 1,993 | <issue_start>username_0: I am doing nested `if` within loops, which is basically:
```
1: For i = 1 To n
If condition1 Then
2: For j = 1 To m
If condition2 Then
3: For k = 1 To p
If condition3 Then
statement1
End If
Ne... |
2018/03/01 | 257 | 949 | <issue_start>username_0: I require to show the bullets instead of numbers in my input field. for that is there any easiest way? I like to use some bullet based fonts so number will be hidden.
if so, any one share me a free fonts which gives only bullets for numbers?
```
```
I tried like above. but still i like to ... |
2018/03/01 | 381 | 1,366 | <issue_start>username_0: I'm working with C++ 11 and I encountered a class with a volatile member variable, which raised a question:
Question 1:
if a member variable is set in one class function and polled in another class function - is there ever a need for volatile? If so, when?
(I know that if x is mapped to hard... |
2018/03/01 | 255 | 895 | <issue_start>username_0: In our angular application, from controller I have returned a dictionary. How can I display the same in html template using \*ngFor?
Please anyone help to achieve the same<issue_comment>username_1: You can create a pipe that maps the object (dictionary) to an array
containing of type : `{ key... |
2018/03/01 | 862 | 3,079 | <issue_start>username_0: I'm pretty new to React & Redux-Form and at the moment I am in need of some help.
Basically I have listing page with lists and their edit button. When the edit is clicked, I am showing a modal pop up with the fields and doing a API call to fetch the respective list data.
Could you please let ... |
2018/03/01 | 552 | 2,186 | <issue_start>username_0: I have two pages included on single page which has new-registration form and listing user form below that. At a time I am showing that two things.
What I want is, once I enter the new entry in database, my listing page should be reloaded. I have used `$route.reload` for that. On submit button,... |
2018/03/01 | 484 | 1,557 | <issue_start>username_0: When I use CSS transition like below.
<https://jsfiddle.net/sunyuu/e58sfeva/17/>
```js
var Main = {
data () {
return {
isActive: false,
childStyle: {}
};
},
methods: {
showMask() {
this.isActive = true
this.$nextTick(() => ... |
2018/03/01 | 345 | 1,242 | <issue_start>username_0: Given two arbitrary paths `base` and `destination`, I want to find the minimal relative path from `base` to `destination`.
My current implementation is:
```
Push-Location $base
try {
return (Resolve-Path -relative $destination)
} finally {
Pop-Location
}
```
However, this does not f... |
2018/03/01 | 510 | 1,676 | <issue_start>username_0: ```
IFS="\n"
for line in $text; do
read -a array <<< $line
echo ${array[0]}
done
```
content of $text :
```
123 456
abc def
hello world
```
expected result :
```
123
456
abc
def
hello
world
```
real result :
```
123
```
I have doubts that the read -a is the one that stops th... |
2018/03/01 | 383 | 1,339 | <issue_start>username_0: This is the unicode that I have defined at the top of my program
```
#!/usr/bin/env python
# -*- coding: utf-8 -*-
```
And yet I still get this error
```
SyntaxError: Non-ASCII character '\xfe' in file C:/Users/aaron/Desktop/Python/Bicycle_Diagnosis_System/Main.py on line 1, but no encoding... |
2018/03/01 | 489 | 1,651 | <issue_start>username_0: I'm facing this problem when use database in Laravel. How can i convert that to Array the most simpletest?
```
$data = DB::table('users')->get();
```<issue_comment>username_1: `get()` will return a collection. If you want to get an array of objects, use the `toArray()` method:
```
$data->toA... |
2018/03/01 | 1,021 | 3,366 | <issue_start>username_0: I am facing a challenging issue in order to make my Python3 code more elegant.
Suppose I have a number function with variable number of different inputs, for example something like this:
```
def fun1(a,b):
return a+b
def fun2(c,d,e):
return c*d + e
def fun3(x):
return x*x
```
... |
2018/03/01 | 735 | 2,557 | <issue_start>username_0: I have a problem, i added shockwave player to the winform. But it seems that youtube does not support it anymore. So how can i embed a video/youtube video to my winform application?<issue_comment>username_1: You can use a [`WebBrowser`](https://learn.microsoft.com/en-us/dotnet/framework/winform... |
2018/03/01 | 579 | 2,208 | <issue_start>username_0: Just a day ago, [Flutter](https://flutter.io/), a new hybrid (mobile apps) development framework released by Google Inc.
I installed Flutter SDK, following steps, provided from this link: [Install on macOS - iOS setup](https://flutter.io/setup-macos/).
In the same steps, they provided a termi... |
2018/03/01 | 580 | 1,791 | <issue_start>username_0: I apologize in advance if my terminology is off here, I'm still new to asp.net.
I have a model like this:
```
public class Order
{
public int FoodId { get; set; }
public int Amount { get; set; }
}
```
I have a list of orders, for which I want to create a copy which contains only *on... |
2018/03/01 | 546 | 1,801 | <issue_start>username_0: Airflow installation with command is failing
```
sudo pip3 install apache-airflow[gcp_api]
```
Everything was working fine yesterday. Today I see the following error:
```
Could not find a version that satisfies the requirement apache-beam[gcp]==2.3.0 (from google-cloud-dataflow->apache-airf... |
2018/03/01 | 753 | 2,581 | <issue_start>username_0: I have few buttons which are added from Storyboard(not by code) . I want to make it circular in shape . How do I do it? I don't want a circular button added from code but from storyboard.Thanks<issue_comment>username_1: ```
let button = UIButton(type: .custom)
button.frame = CGRect(x: 160, ... |
2018/03/01 | 1,373 | 5,017 | <issue_start>username_0: In an effort to reduce compilation times in a large project that makes liberal use of templates, I've had good results using "extern template" ([explicit template instantiation](http://en.cppreference.com/w/cpp/language/class_template#Explicit_instantiation)) to prevent common template function... |
2018/03/01 | 904 | 2,920 | <issue_start>username_0: I'm trying to turn a dot notation string into an object, for example given
```
[{
key: 'app.team.instance',
value: 'some value1'
}, {
key: 'app.team.instance.obj',
value: 'some value'
}, {
key: 'app.team.app.some',
value: 'some value'
}, {
key:... |
2018/03/01 | 297 | 1,020 | <issue_start>username_0: I have an HTML-button that a user can click to register an account:
```
Register
```
Unfortunately, the JavaScript-method is never called. The strange thing is, when I replace the button with "input":
```
Register
```
The method is called. So it works with "input", but... |
2018/03/01 | 395 | 1,226 | <issue_start>username_0: I'm having some issues with IE11 similar [to this post](https://stackoverflow.com/questions/27952725/why-doesnt-translatex-work-as-expected-for-fixed-elements-on-ie9-ie10-and-ie1). I have a menu that expands at a certain size (1440px) and breaks in IE11. Using Media Queries I can target IE11 us... |
2018/03/01 | 357 | 1,343 | <issue_start>username_0: I've started to learn what does tuple mean and I faced with the question what's difference between Array and Tuples. So, I'm just schoolboy who want to learn Swift and I still don't know a lot of things<issue_comment>username_1: **Tuple**
A tuple is a grouping of unnamed, ordered values. Each v... |
2018/03/01 | 758 | 2,385 | <issue_start>username_0: I have a query like
```
select count(1) from table_a where state=1;
```
it gives 20
```
select count(1) from table_a where state in (1,2);
```
it gives 25
I would like to have a query to extract percentage 80% (will be 20\*100/25).
Is possible to have these in only one query?<issue_comme... |
2018/03/01 | 968 | 2,942 | <issue_start>username_0: So I want to calculate the distance from the two furthest points in a cuboid. The mathematical equation for this is z^2 = a^2 + b^2 + c^2 but when I do that it doesn't return correctly.
```
from math import *
dimension = input("What dimension: ")
if dimension == ("3D") or dimension == ("3d"... |
2018/03/01 | 573 | 1,745 | <issue_start>username_0: I am working on Booking system where a user can book their cars, before adding any trip inside the database/table I want to check the trip already exist between the dates and times.
Here is my query inside my model.
```
$this->db->select('trId')
->from('trips')
->where('carId',$d... |
2018/03/01 | 782 | 3,183 | <issue_start>username_0: Apple has realised ARKit beta 1.5 with some additional features. (vertical plane detection, image detection, ...)
I am working on image detection and I would like to know how can we get orientation information when detecting images? (**vertical** / **horizontal** image detection)
The only way... |
2018/03/01 | 593 | 1,900 | <issue_start>username_0: I'm trying to set the toprightradius, but it wont set? I've tried this in the console too, it runs with no errors and it just wont set. When setting a border, the border will be positioned as if the radius worked (have a curved edge) but the original background color will still shown behind the... |
2018/03/01 | 186 | 737 | <issue_start>username_0: I am trying to perform headless testing. I performed those with Casperjs, but I am not allowed to code in it. I need to find a way to integrate selenium webdriver, but `pip install` or even `conda install` won't work. Is there a way out?<issue_comment>username_1: Download the source from <https... |
2018/03/01 | 288 | 1,090 | <issue_start>username_0: I'm new in iOS development and I'm trying to solve a problem when I send a new notification from my Firebase console to my app there is no sound !
The way to know is to open my phone then I see the notification but there is no sound when the notification arrived !
My code looks exactly like F... |
2018/03/01 | 1,015 | 3,125 | <issue_start>username_0: I am getting this error:
>
> Error: SyntaxError: JSON.parse Error: Invalid character at position:1
>
>
>
on executing the below code in `oracle apex5.2` during submit page,
below code is for downloading a file using `pl/sql` in `oracle apex`.
I created a button; when we click that butt... |
2018/03/01 | 331 | 1,449 | <issue_start>username_0: I want to migrate content with metadata from Documentum WebTop to Alfresco.
Can anyone please help me with the possible ways and some basic steps if possible.
For the moment I can think about using apache chemistry open CMIS API to connect to both repository and migrate content.
But is there ... |
2018/03/01 | 802 | 3,062 | <issue_start>username_0: I have a function with a randomized result like that:
```
document.getElementById('recaller').addEventListener('click', function() {
var randomIndex = Math.ceil((Math.random() * 10) % randomStrings.length - 1);
newText1 = randomStrings[randomIndex];
newText... |
2018/03/01 | 585 | 2,059 | <issue_start>username_0: I want to assign a style class to an element.
I have a css:
```
.text-field{
-fx-background-color: #333333;
-fx-background-insets: 0 -1 -1 -1, 0 0 0 0, 0 -1 3 -1;
-fx-text-fill: white;
-fx-prompt-text-fill: white;
-fx-font-family: Trebuchet MS;
-fx-font-size: 14px;
}
... |
2018/03/01 | 736 | 2,527 | <issue_start>username_0: my goal is to simply create a treeview using this <https://www.primefaces.org/primeng/#/tree> component.
I currently have a small service with this method
TS:
```
getMenuDetails(parentID: number) {
let url = this.serverURL + 'api/Nodes/' + parentID;
console.log(url);
return this.ht... |
2018/03/01 | 638 | 2,469 | <issue_start>username_0: We want to set up a pool code review system where any developer can see a list of all pending code review requests and pick some to review. We're using Visual Studio Team Services.
As a first step, I need to allow the entire Project Collection Valid Users group to be added as reviewer of a pul... |