date stringlengths 10 10 | nb_tokens int64 60 629k | text_size int64 234 1.02M | content stringlengths 234 1.02M |
|---|---|---|---|
2018/03/16 | 333 | 1,152 | <issue_start>username_0: **Version
Tell us which versions you are using:**
```
react-native-router-flux v4.0.0-beta.28
react-native v0.52.2
```
Tried the following...
`Actions.replace({ key: tabKey, props: tabPage });
Actions[key]({ type: ActionConst.REPLACE, tabPage: tabPage })`
and several variations there of<is... |
2018/03/16 | 997 | 3,390 | <issue_start>username_0: I've got different languages on my website. Every language has the same products with a different class name per product. so lets say we've got this:
```
Product 1
Product 2
Product 3
Product 4
Product 5
```
This is the same for every language. As you can see every class has multiple c... |
2018/03/16 | 959 | 3,545 | <issue_start>username_0: I've got a generic UIViewController in which I would like to hide the status bar. I've got more view controllers which should display the status bar, but this specific view controller should hide the status bar.
I've implemented the following methods in the UIViewController class:
```
overrid... |
2018/03/16 | 885 | 2,734 | <issue_start>username_0: **EDIT: I've removed the tags that several people pointed out may be causing the issue and recreated the same layout with more correct CSS, which I've included below (using `width:100%` on the labels instead of a break), but am still getting the same bug.**
I'm using `column-count:2` to put s... |
2018/03/16 | 2,841 | 11,067 | <issue_start>username_0: My team is designing a scalable solution with micro-services architecture and planning to use gRPC as the transport communication between layers. And we've decided to use async grpc model. The design that example([greeter\_async\_server.cc](https://github.com/grpc/grpc/blob/master/examples/cpp/... |
2018/03/16 | 2,638 | 5,114 | <issue_start>username_0: I am beginner with rvest. I am trying to scrape some tables from the website of the Italian Home Office. I use codes based on-line tutorials, but html\_table fails do find any table.
This happens when I try to get all the tables:
```
url <- "http://finanzalocale.interno.gov.it/apps/floc.php/ce... |
2018/03/16 | 444 | 1,818 | <issue_start>username_0: is there any way to logout a user in yii2 advanced, when the user faces unusual thing(like shut down his/her computer when the user works with his/her account).
default of yii2:when you are login and your computer goes into shut down,when you start up for another time and go to your account ,yo... |
2018/03/16 | 569 | 2,227 | <issue_start>username_0: I want to make generic metods ToSigned, ToUnsinged.
This is what i have
```
public static class Number {
// public static bool IsSigned = MinValue.Equals(0) ? false : true;
// public static bool IsUnsigned = MinValue.Equals(0) ? true : false;
public static object ToUnsigned(T input)
{
i... |
2018/03/16 | 888 | 3,548 | <issue_start>username_0: In the sample code below ComputeSomething() returns a reference to an array.
**I was asked to use C++ core guidelines (NuGet package on MSVC toolchain) as an extra static analysis tool.**
On the return line of `ComputeSomething()` the static analysis tool warns that there is an array to point... |
2018/03/16 | 629 | 2,337 | <issue_start>username_0: Here's the [code](http://rextester.com/YVHG82549):
```
public class Program
{
public static void Main(string[] args)
{
Test test = new Test();
}
}
public class Test
{
public Test() {
Console.WriteLine("type: " + Type.GetType("Registration"));
}
}
pu... |
2018/03/16 | 914 | 3,352 | <issue_start>username_0: I am stuck since 2 days with this simple installation process of Visual Studio 2015 from my university portal (vs\_communityENUS.exe which is a 3260 KB application). I am not new to installation and troubleshooting but this one has got me insane.
Every time I install it it throws me errors:
1... |
2018/03/16 | 862 | 3,273 | <issue_start>username_0: I have an angular5 service which does an HTTP get and returns a specific type as shown below
```
public getProductByIDproductId: string): Observable {
const headers = new HttpHeaders({ "Content-Type": "application/json" });
const url = `${environment.productservice\_baseurl}/${productId}`;
... |
2018/03/16 | 533 | 1,930 | <issue_start>username_0: I am implementing alarm functionality for Apple's Watch application. So here I have to compare current time with user time and I have to get current time for every 1 sec, so that I have implemented the code like below but this is not working. Can any body please post appropriate code in Objecti... |
2018/03/16 | 312 | 1,056 | <issue_start>username_0: I have a bitbucket account set with ssh key
I have copied the ssh public and private keys in my .ssh folder
I have added a ssh config file :
```
cat .ssh/config
host bitbucket.org
IdentityFile ~/.ssh/bitbucket-ssh-key
IdentitiesOnly yes
```
The ssh identification works well BUT it as... |
2018/03/16 | 719 | 2,725 | <issue_start>username_0: I'm trying something here that can really ease my pain. I just took back a project where the front end used is reactjs and the backend is .NET ASPNet 4.6.
I'm just trying to get hot reload work with webpack (as it's much more better than building every time i want to see something working)
Th... |
2018/03/16 | 492 | 1,784 | <issue_start>username_0: I have this code below:
```
var rtypes = {!! $registration\_type !!}
```
With this in the source code it appears:
```
var rtypes = [{"id":1,"name":"general","description":"description geral","capacity":100},{"id":2,"name":"plus","description":"description plus","capacity":10}]
```
But ... |
2018/03/16 | 777 | 1,836 | <issue_start>username_0: I have following problem. I want to nest time series by date but include x amount of earlier dates to nest as well. little example will clear this one:
lets create sample tbl:
```
set.seed(13)
tibble(date = c(rep("2018-01-31", 3), rep("2018-02-28", 3), rep("2018-03-31", 3), rep("2018-04-30", ... |
2018/03/16 | 687 | 2,317 | <issue_start>username_0: I would like run the ionic app in the browser.
I used this command
`ionic serve`
But I got this error `Error: spawn EACCES`
I check ionic info but I got ionic framework is unknown
```
global packages:
@ionic/cli-utils : 1.4.0
Cordova CLI : 7.0.1
Gulp CLI : CLI version 3.9.1... |
2018/03/16 | 609 | 2,290 | <issue_start>username_0: I want to expose 2 new endpoints on my controller.
1 has the method signature to add a single entity:
```
[HttpPost]
[Route("v1/entities")]
public IHttpActionResult AddEntity([FromBody] Entity entity)
```
The other is almost identical except it accepts an IEnumerable to add multiple entities... |
2018/03/16 | 450 | 1,620 | <issue_start>username_0: So, I am writing a crypto trading bot. I can work out how much of ETH I can buy with the BTC I have, but you can only buy ETH in incremental values. The increments would range from 1000 to 0.001 depending on coin.
Question is how do I round 123.456789 down to 123.456 if the increment is 0.001... |
2018/03/16 | 1,057 | 3,761 | <issue_start>username_0: I have a todo list that is generated via jsonplaceholder , the button on click populates the div with dummy content.
What I am trying to achieve is that when I click on an individual div(task) it should be removed/hidden.
So far,
```
Show Todo
* {{todo.title}}
* Task Status : {{todo.comple... |
2018/03/16 | 691 | 1,980 | <issue_start>username_0: **I have a List**
```
List myList = Arrays.asList("1234", "1214", "1334");
```
**My input is**:
```
String mInput = "1214"
```
---
How to write a comparator to compare all the elements of `myList` to `mInput` and if it is equal, move it to the top of the list<issue_comment>username_1: Y... |
2018/03/16 | 815 | 2,430 | <issue_start>username_0: How can be possible that 'this' in React.Component life cycle have changed to different object?
In `render()` and in `componentDidMount()` `this` points to different objects?
1. I use React 16.0.0
2. All life-cycle methods called only once
3. I transpile Typescript with Webpack
4. I couldn't r... |
2018/03/16 | 1,262 | 2,930 | <issue_start>username_0: In the following code I print out entire outputs and the minimum of them:
```
l= 4.98648387414 q= 4.96850590047
l= 6.22734941766 8.30807062837 q= 2.50807065862 6.36351958551
l= 6.55113742501 8.91180674608 1.62449083617 q= 6.58695963821 0.0460316539106 6.79113942876
min is= [ 6.55113743 ... |
2018/03/16 | 507 | 2,120 | <issue_start>username_0: I have two intents **brand** and **brand\_model**.
**brand** intent contains training phrases like
* latest apple products
* budget apple phones
and so on where **apple** is the **brand**.
**brand\_model** intent contains training phrases like
* price of apple iphone 6
* show me the vari... |
2018/03/16 | 1,331 | 4,024 | <issue_start>username_0: When I use Pango to draw text onto a transparent Cairo recording surface, the text becomes quite heavily discoloured, particularly in the semi-transparent anti-aliased regions. For example, [this image has the correct (top) and incorrect (bottom) rendition of some text](https://i.stack.imgur.co... |
2018/03/16 | 1,025 | 2,722 | <issue_start>username_0: How should be the for-loop if I am trying to generalize this :
given `Number = 3`
```
FirstCellToWrite.Value = Controls("txtBox" & 1).Text
FirstCellToWrite.Offset(1, 0).Value = Controls("txtBox" & 2).Text
FirstCellToWrite.Offset(2, 0).Value = Controls("txtBox" & 3).Text
FirstCellToWr... |
2018/03/16 | 2,871 | 8,200 | <issue_start>username_0: so I have 5 dataframes of the top 80 rated players taken from FIFA 13-17 each containing a players name, rating and club. My end goal is to merge all of these datasets together so I can have a rating per player every year and a null value if they didn't make it. Obviously, some players are not ... |
2018/03/16 | 584 | 1,761 | <issue_start>username_0: I want to hide the **specific div**(Example 2) but it has no class or id so i am unable to apply jquery on that specific div(Example 2)...Please guide me how can hide that div with jquery.
Here is my div structure:
```
##### Heading Sample
Example 1
00:00 Check-out 00:00
Example 2
Exam... |
2018/03/16 | 1,190 | 4,276 | <issue_start>username_0: Context: I'm trying to download a binary file from a backend (that requires some data posted as json-body) and save it with file-saver using the filename specified by the backend in the content-disposition header. To access the headers I think I need the HttpResponse.
But I'm unable to use ang... |
2018/03/16 | 283 | 981 | <issue_start>username_0: How can I reset the input field, after clicking on the button?
```html
Eingabe
function getInput(){
ET\_Event.eventStart('TestCloud', document.getElementById('search').value, 'TestCloud')
}
```<issue_comment>username_1: Set value of the input = '';
*document.getElementById('search').va... |
2018/03/16 | 297 | 1,032 | <issue_start>username_0: I need to make perfect round of the `UIView`. When I try to make it perfect Its not looking like I exactly want.
Which is good to make it by Interface Builder or code?
```
viewRound.layer.cornerRadius = 45.0
viewRound.layer.masksToBounds = true
```<issue_comment>username_1: Set value of the... |
2018/03/16 | 510 | 1,838 | <issue_start>username_0: I have an App Service on Azure Cloud for my .NET Core Web application. I decided to update my solution to .NET Core SDK to version 2.1.101 with runtime in version 2.0.6. When I try to start my application on Azure App Service, I get error which tells me that I can not run my application because... |
2018/03/16 | 1,426 | 4,704 | <issue_start>username_0: I recently added the Camera and File plugins to my Ionic 1.3/ Cordova app, and now the app is intermittently crashing on the Android device I am using.
The crash is not happening when I am actually using the plugins, nonetheless I wanted to see if the problem would go away if I used more up to... |
2018/03/16 | 326 | 1,226 | <issue_start>username_0: I have a fairly complex and performance-critical Haskell program. I have used cost center profiling to optimize to the point where there are no major remaining hot spots. Furthermore, the program runs about 15x faster with `-O2` (and no profiling) than it does with `stack build --profile`, so I... |
2018/03/16 | 584 | 1,570 | <issue_start>username_0: ```
+------+------+------------+--------------------+
| id | C_Br | C_Date | daily_typing_pages |
+------+------+------------+--------------------+
| 1 | 51 | 2007-01-01 | 100 |
| 2 | 52 | 2007-01-01 | 100 |
| 3 | 53 | 2007-01-01 | 100 ... |
2018/03/16 | 999 | 4,179 | <issue_start>username_0: The question is on how to design a REST web service which performs time-consuming jobs (order of magnitude of several seconds and minutes).
The fastest solution would be to proceed as follows:
1. client sends a POST request to server (POST /job), the answer has
HTTP status 202 and will contai... |
2018/03/16 | 1,872 | 5,123 | <issue_start>username_0: In the default Flutter application code, I tried to change the following code
from:
```
primarySwatch: Colors.blueGrey
```
to:
```
primarySwatch: Colors.blueGrey[500]
```
but this throws an error:
```
══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞════════════════════════════════════════════... |
2018/03/16 | 732 | 2,879 | <issue_start>username_0: I found this and online and now trying to put it in TS.
Running the following throws `Uncaught TypeError: Cannot set property 'toggle' of null`
```
@Injectable()
export class HomeUtils {
private canvas: HTMLCanvasElement;
private context;
private toggle = true;
constructor() ... |
2018/03/16 | 1,664 | 6,426 | <issue_start>username_0: Could someone advice me on how to integrate FontAwesome 5 **Pro** with React?
I know there are packages @fortawesome/react-fontawesome and for example @fortawesome/fontawesome-free-regular but is there a way how to include **pro version** of icons?
When I log in to FontAwesome website, I can ... |
2018/03/16 | 1,525 | 5,307 | <issue_start>username_0: I'm using Stripe to charge my users for coaching services. Currently, a coach can decide what plans he wants to offer in his settings.
If a coach only has basic\_coaching set to `false` then that is the only Stripe button that should **not** appear.
How would I go about that?
Here is my sc... |
2018/03/16 | 1,263 | 3,710 | <issue_start>username_0: I am new to Scala and learning about the language using *Programming in Scala (second edition)*. I came across this topic of List concatenation, I was playing around with the language and got something here:
```
val scooters = List("Activa")
val newCars = List("Ritz")
val allCars = "Toyota" ::... |
2018/03/16 | 1,871 | 7,061 | <issue_start>username_0: I am building an application where Web API and IdentityServer4 are inside the same .Net Core 2.0 project. This API is consumed by Aurelia SPA web app. IdentityServer4 set to use JWT and ImplicitFlow. Everything works good (Client app gets redirected to login, gets token, sends it back on header... |
2018/03/16 | 674 | 2,414 | <issue_start>username_0: $ Flutter doctor terminal command not working on ubuntu, giving error message "curl: (35) gnutls\_handshake() failed: Error in the pull function.
"<issue_comment>username_1: This is not Flutter nor "flutter doctor" specific, it's to do with curl. Googling this error seems to bring up results th... |
2018/03/16 | 804 | 2,909 | <issue_start>username_0: I am trying to write a script, that will look for folders in the current directory, once found, it will check to see if the folder contains the following folders: 'Contracts' & 'Other Documents', if these are found the folder can be ignored. If not, I need to have the script make these folders.... |
2018/03/16 | 1,571 | 5,397 | <issue_start>username_0: How to call function or module using ScriptEngine.
here is my sample code , which is compiling fine , but at runtime its throwing exception scalaVersion := "2.12.4" and sbt.version = 0.13.16, java is jdk1.8.0\_131
```
import java.io.FileReader
import javax.script._
object DemoApp extends App... |
2018/03/16 | 690 | 2,241 | <issue_start>username_0: I'm trying to do a ngIf where the result is depending on a promise.
The template
```
Renault
Bmw
Good choice!
```
So far, the function isDisplayed is
```
isDisplayed() {
return this.carValue === 'bmw';
}
```
But I'd like it to be asynchronous. Something like
```
isDisplayed() {
... |
2018/03/16 | 6,027 | 16,978 | <issue_start>username_0: The following script, reproduces an equivalent problem as it was stated in h2o Help (`Help -> View Example Flow` or `Help -> Browse Installed packs.. -> examples -> Airlines Delay.flow`, [download](https://www.sugarsync.com/pf/D309535_3_7294556508)), but using h2o R-package and a fixed seed (`1... |
2018/03/16 | 696 | 2,226 | <issue_start>username_0: I need to match the multiple same column value of MySQL table using PHP and MySQL. I am explaining my table below.
**db\_user:**
```
id status book_id
1 0 22
2 0 22
3 1 22
4 0 23
```
Here I need the `select query` a... |
2018/03/16 | 128 | 466 | <issue_start>username_0: I have given editable bottom so i am getting default delete icon of odoo11. But i want to change it only to my module. How to change the delete icon to my own module ?
```
Attachments
attachments
```
Thanks in Advance !<issue_comment>username_1: just add `delete="false"` in tree view... |
2018/03/16 | 184 | 764 | <issue_start>username_0: I have a Main VC which has a connection to Tab Bar Controller via segue and that Tab Bar controller has 2 sections and those are 2 ViewControllers. I need to pass data from Main VC to that specific VC which derived from Tab Bar Controller using segue. Since i am able to use only one segue (to s... |
2018/03/16 | 630 | 2,502 | <issue_start>username_0: the console.log(workingWeekdaysVar) line; is outside the findOne's scope, and the variable was declared outside it too, yet it's giving me null ...
when i put console.log(workingWeekdaysVar); inside the findOne's scope, it does give the right output, but this is useless for me because I wanna ... |
2018/03/16 | 1,009 | 4,255 | <issue_start>username_0: I was trying to use `Spring Data JPA` on `Spring Boot` and I kept getting error, I can't figure out what the problem is:
>
> Unable to locate Attribute with the the given name [firstName] on
> this ManagedType [com.example.h2demo.domain.Subscriber]
>
>
>
FirstName is declared in my entit... |
2018/03/16 | 640 | 1,829 | <issue_start>username_0: Why does the following code give me a segmentation fault:
```
#include
#include
#include
using namespace std;
double f(double a, double b, double\* c) {
\*c = a + b;
}
int main() {
vector a ={1,2,3,4,5,6,7,8};
vector b ={2,1,3,4,5,2,8,2};
int size = a.size();
vector c(size);
vector... |
2018/03/16 | 660 | 2,231 | <issue_start>username_0: I've been looking for a while, but I haven't found anything in Ruby like `python`'s `-i` flag.
Common behaviour for me if I'm testing something is to run the unfinished `python` script with a `-i` flag so that I can see and play around with the values in each variable.
If I try `irb` , it sti... |
2018/03/16 | 537 | 1,779 | <issue_start>username_0: I need to replace first and last character in random string. Why this code doesn't work?
```
function symbExchange(line) {
var tmp = line[0];
var str = line.replace(line[0], line[line.length-1]);
var str2 = str.replace(str[str.length-1], tmp);
return str2;
}
```<issue_... |
2018/03/16 | 841 | 2,905 | <issue_start>username_0: I have been implementing a like and dislike system. The code is below:
```

```
As you can see above, when the user clicks on above like block, I have created a function call which registers a `like` in the system through ajax call.
Here, the `$id` is the post\_id which I ... |
2018/03/16 | 2,134 | 5,379 | <issue_start>username_0: Suppose I have a frequency chart of the ten most popular names of babies born in the US in 2006:
```
myfreq <- c(24835, 22630, 22313, 21398, 20504, 20326, 20054, 19711, 19672, 19400)
names(myfreq) <- c("Jacob", "Michael", "Joshua", "Emily", "Ethan", "Matthew", "Daniel", "Andrew", "Christopher"... |
2018/03/16 | 536 | 1,760 | <issue_start>username_0: I try to dynamic notify when I wrote some messages.
That's my vue.js code.
```
Vue.http.options.emulateJSON = true; // Send as
new Vue({
el: '#app',
data: {
name : "",
postResult : ""
},
methods: {
click: function() {
this.$http.post('/api/test', {name:this.name}).then(function(res... |
2018/03/16 | 306 | 878 | <issue_start>username_0: I work with symfony4.
I would add same validation to my input number to accept only values like :
```
1
10
100
1000
10000
100000
1000000
```<issue_comment>username_1: You have to use Choice validation. All info about choice validation You can find [here](https://symfony.com/doc/current/re... |
2018/03/16 | 658 | 2,027 | <issue_start>username_0: Is there any way to place an images half is on top of another image using only constraint layout. I know it can be done using relative and frame layouts but in the case of constraint layout is there anyway?
prefer ways which do not require any hardcoding of heights/widths
the requirement will... |
2018/03/16 | 351 | 1,439 | <issue_start>username_0: I am trying to upload my graphql schema to aws appsync. My graphql schema is nearly 5000 lines long. I tried uploading using cli and gui, both.
(1.) When using cli, I am continually getting error "Failed to parse schema document - ensure it's a valid SDL-formatted document."
(2.) When using ... |
2018/03/16 | 773 | 2,769 | <issue_start>username_0: I have an application where i have a wysiwyg editor to design emails and send them to contacts in a database, i have the email function working as when i test with an input form it sends to my database contacts, however i am trying to pass the content in the wysiwyg editor through ajax to my co... |
2018/03/16 | 648 | 2,041 | <issue_start>username_0: i'm recently start to learning C because i start a course in my university. In one of my lesson I need to write a program that converts a number of in ms to days, hours, minutes, second and milliseconds.
I use this source code:
```
#include
int main ()
{
long int time\_ms;
int d, h, m, s, ms... |
2018/03/16 | 490 | 1,606 | <issue_start>username_0: I have a task to create sql queries to insert data in oracle column.
The datatype is SDO\_GEOMETRY
I have only Latitude and Longitude values.
Any pointers will be helpful<issue_comment>username_1: The full doc has more examples but here's the snippet you need.
```
SDO_GEOMETRY(2001,
... |
2018/03/16 | 3,125 | 7,787 | <issue_start>username_0: I've created an area chart with a white fill and red outline:
[](https://i.stack.imgur.com/yDneZ.png)
It works fine, but I would like to get rid of the red outline along the X and Y axes and just leave the outline that repres... |
2018/03/16 | 499 | 1,688 | <issue_start>username_0: <https://github.com/seyhunak/twitter-bootstrap-rails> says:
Twitter Bootstrap for Rails 5 and **Rails 4** Asset Pipeline
but after bundle install I see this:
```
Bundler could not find compatible versions for gem "actionpack":
In Gemfile:
rails (= 4.1.7) was resolved to 4.1.7, which dep... |
2018/03/16 | 454 | 1,430 | <issue_start>username_0: I have two models `Post` and `Author` in my project
>
> Post => `return $this->hasMany('App\Author')`
>
>
> Author => `return $this->belongsTo('App\Post')`
>
>
>
Currently i have one record in `Post` and two in `Author`, Now i am removing one record from the list and saving it and it gi... |
2018/03/16 | 1,173 | 4,612 | <issue_start>username_0: I have followed the steps described in the link below:
[angular-localstorage4](https://www.npmjs.com/package/angular-localstorage4)
When I am trying to import WebStorageModule and LocalStorageService from angular-localstorage. I am getting the following error in console although the compilatio... |
2018/03/16 | 585 | 2,083 | <issue_start>username_0: I have comma seperated value in my table, tbl\_request as follows:
```
request_id name1 price
4 12,14 99.23
```
From this table I need to find the data from another table based on the value name1 i.e. 12, 14. I have tried following code
```
SELECT
r.price,
(
S... |
2018/03/16 | 644 | 2,332 | <issue_start>username_0: I've 2 questions with the following code:
```
positive = {'yes','Yes','y','Y'}
negative = {'no','No''n','N'}
month = March
while True:
a = input('The month that you want to archive is March' '(Y or N) ? ')
if a=='N':
input("You will now leave, press Enter......")
break... |
2018/03/16 | 2,306 | 5,333 | <issue_start>username_0: I am trying to create a VBScript to find and replace a certain string located between two strings. Here is an example of a file that the script will be executed on:
```none
%
N1 ( POSTED FILE NAME - WORKNC POST )
N2 ( INPUT FILE NAME - _6033_Cavity__01.TBA)
N3 (DATE/TIME: Thu Mar 15 06:36:08 2... |
2018/03/16 | 1,778 | 6,146 | <issue_start>username_0: I have a element and which will show a paragraph with no line breaks like in the example
```html
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of t... |
2018/03/16 | 885 | 3,147 | <issue_start>username_0: I have developed a website using PhalconPHP. the website works perfectly fine on my local computer with the following specifications:
```
PHP Version 7.0.22
Apache/2.4.18
PhalconPHP 3.3.1
```
and also on my previous Server (with DirectAdmin):
```
PHP Version 5.6.26
Apache 2
PhalconPHP 3.0.1... |
2018/03/16 | 1,146 | 4,148 | <issue_start>username_0: This is my code.
```
public static void test1() throws IOException {
System.setProperty("webdriver.chrome.driver", "data/chromedriver.exe");
drive = new ChromeDriver();
drive.manage().timeouts().pageLoadTimeout(30, TimeUnit.SECONDS);
try {
drive.get("http://youtube.com"... |
2018/03/16 | 294 | 1,004 | <issue_start>username_0: I'm trying to concatenate 2 columns using delimiter as "."
**code :**
```
PCollection first = apps.apply(BeamSql.query(
"SELECT \*,('CatLib' || 'ProdKey') AS CatLibKey from PCOLLECTION"));
```
How shall I specify delimiter between 2 columns ?<issue_comment>username_1: I'd say go for
```... |
2018/03/16 | 424 | 1,669 | <issue_start>username_0: I have a web application in which I'm maintaining many static Maps to store my relevant information. Since the application is deployed on a server. Each and every hit to the server side java uses these maps to match the key and get appropriate result and send back to the client side. My code co... |
2018/03/16 | 2,707 | 7,662 | <issue_start>username_0: I want to create a tablayout in bootstrap that looks like the ones in android.
I am trying to create these tabs like they explain here:
<https://bootsnipp.com/snippets/featured/bootstrap-line-tabs-by-keenthemes>
But I want to use bootstrap 4.0.0. My code is here:
<https://jsfiddle.net/3y2wgsa... |
2018/03/16 | 632 | 2,830 | <issue_start>username_0: I'm writing my own `BeanPostProcessor` and so creating a class implementing BeanPostProcessor interface in eclipse Oxygen and java 9 infrastructure.
Now the question is - compiler is not allowing me to use @Override annotation for methods - `postProcessBeforeInitialization(Object,String)` and... |
2018/03/16 | 674 | 2,836 | <issue_start>username_0: I am trying to boostrap OpenMeetings using this boostrap package <https://github.com/l0rdn1kk0n/wicket-bootstrap>. According to the tutorial of how to, I'll do it thus:
```
// best place to do this is in Application#init()
Bootstrap.install(this);
// if you want to customize bootstrap:
Bootst... |
2018/03/16 | 620 | 2,282 | <issue_start>username_0: In the ISO *International Standard* for C++11, a summary of the differences between c++ 2003 and C++ 2011 is given. One of the difference is:
>
> ### [diff.cpp03.special]
>
>
> **Change**: Implicitly-declared special member functions are defined as deleted when the implicit definition
> wou... |
2018/03/16 | 735 | 2,368 | <issue_start>username_0: I've been googling for a while now, but I can't seem to find an answer, nor anyone else with the same issue. I'm trying to add a menu item, "My Files", above the "Logout" item.
Here's the code I'm using:
```
// Add Menu Item
function my_account_menu_items( $items ) {
return array_merge(
... |
2018/03/16 | 1,330 | 4,228 | <issue_start>username_0: I have a list of tuples like with a hash and path to a file. I would like to find all duplicates as well as similar items based on hamming-distance. I have a function for haming distance score where I give to values and get the score.
I stuck with the problem to loop through the list and find... |
2018/03/16 | 545 | 1,747 | <issue_start>username_0: I have an array of json from the server. Like
```
ArrayExp = [
{
"id" : "number",
"name" : "<NAME>",
...
},
{
"id" : "number",
"name" : "<NAME>",
...
},
...
];
```
And I want to remove a "id" from all of the Array. I am trying with:
```
for (int i = 0; i < A... |
2018/03/16 | 497 | 1,621 | <issue_start>username_0: How can I search for the types of `length, take, drop, splitAt, !!` and `replicate` all in one go, without entering in `:t length`, `:t take`, `:t drop`, etc, for all of these functions?<issue_comment>username_1: ghci includes a `:def` command. The command has the form `:def` , where is the ne... |
2018/03/16 | 1,128 | 3,696 | <issue_start>username_0: As a programmer you always have the choice to add methods to a class or creating the same method which takes a class instance of that object as an argument.
One way of doing it is like this:
```
List Oldtimers = new List();
class Car {
int speed;
int size;
public bool IsBig(){
return ... |
2018/03/16 | 892 | 3,756 | <issue_start>username_0: I am new to polymer.
Currently I am stuck at a step which I don't know how to solve. Suppose I have an **index.html** in which I have used two components: and . The table uses a parameter `items` that holds the content of the table. And basically searches from DB based on some search criteria... |
2018/03/16 | 832 | 2,632 | <issue_start>username_0: I have an application with tens of signal slot connections, in particular multiple classes (with decomposition) are implementing almost identical `QObject::connect` signals to slots, the problem I am facing is sometimes, in QtCreator *Application Output*, I get the usual error:
>
> QObject::c... |
2018/03/16 | 606 | 1,754 | <issue_start>username_0: I'm trying to write RegEX to match all eventtypes in next string (should end with whitespace character or bracket.
```
(STUNNEL-SECURITY AND NOT (
eventtype=sec-stunnel-client-*
OR eventtype=sec-stunnel-crl-*
OR eventtype=sec-stunnel-loaded-*
OR eventtype=sec-stunnel-loading-*
OR ... |
2018/03/16 | 872 | 3,194 | <issue_start>username_0: I'm developing a small Ruby on Rails application for a small shop which sells used cars. The site contains a list with all avalaible cars including an image of the car. There are at maximum 20 cars in the shop.
I read that it is not the best practice to save images directly in the database and... |
2018/03/16 | 828 | 2,506 | <issue_start>username_0: I would like to know how long it takes to process a certain list.
```
for a in tqdm(list1):
if a in list2:
#do something
```
but this doesnt work. If I use `for a in tqdm(range(list1))` i wont be able to retrieve the list values.
Do you know how do do it?<issue_comment>username_... |
2018/03/16 | 1,089 | 3,605 | <issue_start>username_0: I was wondering if I could grab a StartDate and an EndDate from a database table instead of assigning the StartDate and EndDate parameters as shown below? I already have the dates in another table. I need to get the data between those two dates.
```
DECLARE @StartDate datetime = '1/4/2015'... |
2018/03/16 | 1,101 | 3,660 | <issue_start>username_0: I have two pages, **"Home-Page"** and **"Landing-Page"**. I want to modify the *"Landing-Page"* content based on which button you clicked from the previous page *(That previous page being the "Home-Page")*.
I attempted to use anchor tags, but because that method relies on being client-side onl... |
2018/03/16 | 1,203 | 3,867 | <issue_start>username_0: I have following log string and I need to get from them only `MedSoftware` part, which means
* after `.com\`
* before first occurence of `\`
>
> SERVERNAME2018-03-08 18:40:28 File: "x:\_default\app.address.com\MedSoftware.data\BackEnd.Technical.Dictionaries.Service-180308182311\Web.config", ... |
2018/03/16 | 730 | 1,825 | <issue_start>username_0: I have this code on my html
```
Date issued: {{orderPrint.orderDetails.received\_date | date : "medium"}}
```
It displays something like this:
Date: Mar 16, 2018 7:39:08 PM
I want to display Date: Mar 16, 2023 7:39:08 PM. how can I do that?<issue_comment>username_1: >
> We can do this usin... |
2018/03/16 | 381 | 1,281 | <issue_start>username_0: I'm trying to read a downloaded html-file
```perl6
my $file = "sn.html";
my $in_fh = open $file, :r;
my $text = $in_fh.slurp;
```
and I get the following error message:
```perl6
Malformed UTF-8
in block at prog.p6 line 10
```
How to avoid this and get access to the file's contents?<iss... |
2018/03/16 | 989 | 3,552 | <issue_start>username_0: I have this issue. I using Woocommerce 3.3.3 in this moment in my site and noticed one weird issue. After customer placed order, their order is stuck on "On Hold" into Woocommerce orders.
[](https://i.stack.imgur.com/8QBfY.png)
and custome... |
2018/03/16 | 497 | 1,581 | <issue_start>username_0: I am facing with this exception when I using `libgdx` in Java:
```
Exception in thread "Thread-12" java.lang.RuntimeException: No OpenGL context found in the current thread.
at org.lwjgl.opengl.GLContext.getCapabilities(GLContext.java:124)
at org.lwjgl.opengl.GL11.glGenTextures(GL11.ja... |
2018/03/16 | 409 | 1,492 | <issue_start>username_0: I have two lists
```
class FirstElement {
private int id;
private String name;
}
class SecondElement {
private int id;
private String someString;
}
List listF = getListOfSomeElements1();
List listS = getListOfSomeElements2();
```
I need to find element in `list... |
2018/03/16 | 380 | 1,194 | <issue_start>username_0: As you can see below, the svg icons are broken when opened in chrome. (The icon does not display in firefox)
Software:
FreeNas Jail - FreeBSD 11.1 Release
Apache 2.4
NextCloud 13.0.0
[](https://i.stack.imgur.com/yUOfk.png)<issue_comment>us... |