date stringlengths 10 10 | nb_tokens int64 60 629k | text_size int64 234 1.02M | content stringlengths 234 1.02M |
|---|---|---|---|
2018/03/15 | 1,079 | 3,456 | <issue_start>username_0: There are many threads on SO that explain different ways to get the maximum value from an array (map, max(by:), reduce, filteredArrayUsingPredicate). I've also considered constructing an `NSPredicate` to use in with my `fetchRequest`. But I haven't found anything that gives me a clue about how ... |
2018/03/15 | 583 | 2,190 | <issue_start>username_0: I have a custom Annotation Processor which is being used in a sample project. I have added the following in the pom.xml file of the sample project
```
maven-compiler-plugin
org.apache.maven.plugins
com.\*\*\*\*\*\*.CustomAnnotationProcessor
-Amyarg=${project.artifactId}
```
I then dec... |
2018/03/15 | 791 | 2,064 | <issue_start>username_0: I am trying to create a simple function that counts lines from a text file and print it by using Unix command `wc` (word count). I don't understand why it does not work; I tried different paths for `wc` location but nothing works.
Instead, I get this error:
```
�%r : No such file or director... |
2018/03/15 | 973 | 2,746 | <issue_start>username_0: I wrote UWP but this can be also on Android on IOS because I profiled only UWP application using VS2017.
**Steps to create problem.**
- Open VS 2017 and start a new xamarin forms project by selecting tabbed page or masterdetail page. No need to write any single code.
**Problem;**
* First sn... |
2018/03/15 | 616 | 2,071 | <issue_start>username_0: I've got a Python job that I'm trying to ship in a Docker image. The code is structured in such a way that some modules get imported from a `modules` folder, so I've added to the Python path.
Specifically, the Dockerfile is
```
FROM python:3
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
C... |
2018/03/15 | 206 | 735 | <issue_start>username_0: I'm working in pgAdmin 4 webtool.
When using the query tool, I can save and open files, but I can't delete them.
I'm saving the files using the following method:

But then there is no way to delete saved queries that I don't ... |
2018/03/15 | 604 | 2,458 | <issue_start>username_0: I have two textview and i want to merge two textview and when i click to share button send data `latitude_textview` and `longitude_textview` together, how I can do it?
>
> For example,when i'm pressing to share button i want to get 21.00000, 21.00000 and share it.
>
>
>
```
share... |
2018/03/15 | 626 | 2,580 | <issue_start>username_0: I am trying to get the total count of api keys in my API gateway via SDK.
However I am unsure on the proper implementation of the parameters that the GetApiKeysRequest takes in. My main objective is to get the count of all API keys that are already existing for my account.
The code I have so f... |
2018/03/15 | 1,738 | 6,837 | <issue_start>username_0: I always see examples of functional React components defined with arrow function syntax:
```
const foo = () => (...);
export default foo;
```
Rather than the more traditional function declaration syntax:
```
export default function foo() {
return ...;
}
```
Is there a reason to prefer ... |
2018/03/15 | 997 | 3,628 | <issue_start>username_0: I'd like to build a request for testing middleware, but I don't want POST requests to always assume I'm sending form data. Is there a way to set `request.body` on a request generated from `django.test.RequestFactory`?
I.e., I'd like to do something like:
```
from django.test import RequestFac... |
2018/03/15 | 532 | 1,977 | <issue_start>username_0: I am trying to create a ECS fargate type task on ECS through this command
`aws ecs register-task-definition --family ${FAMILY} --cli-input-json file://${NAME}-v_${BUILD_NUMBER}.json --region ${REGION}` as mentined in docs [here](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_A... |
2018/03/15 | 1,283 | 4,028 | <issue_start>username_0: **My problem**
Oracle 'DATE' columns actually store time as well, just with less precision than 'TIMESTAMP' (seconds vs picoseconds). I need my application to interact with this legacy schema as if the Date was a DateTime. Because rails thinks of this field as a date, its truncating the time.
... |
2018/03/15 | 382 | 1,325 | <issue_start>username_0: I am trying to use PyQt4 in pycharm. My code works perfectly in run mode, but in debug mode, when I try to import PyQt4 I get the following error:
*"RuntimeError: the PyQt4.QtCore and PyQt5.QtCore modules both wrap the QObject class"*
This happens even w/ very barebones code:
```
from PyQt4... |
2018/03/15 | 1,016 | 3,065 | <issue_start>username_0: I am trying to get the Cplex basic LP example to work. The code can be found [here](https://www.tu-chemnitz.de/mathematik/discrete/manuals/cplex/doc/getstart/html/ilocplex13.html). I am completely new with c++, but hope to be able to get this running.
I am trying to compile it on linux. I am ... |
2018/03/15 | 757 | 2,374 | <issue_start>username_0: I'm working on creating a basic ReactJS Frontend App that has to send data to an API created with php. My react app is hosted on localhost:3000 using XAMPP and the php file is hosted on localhost:8000. when I try to connect to it I get a connection refused error. I use Axios to send a Post requ... |
2018/03/15 | 838 | 3,252 | <issue_start>username_0: I have the following situation:
-------------------------------
* The main widget with Row 1,2,3
* In Row 2, I initially set the Widget A
What I want:
------------
* replace the Widget A with Widget B once I have a state change in Widget A
* handle the replacement in Widget A and not in the ... |
2018/03/15 | 636 | 2,122 | <issue_start>username_0: I'm writing an ASP.NET MVC program in C# and I have a date fetched from my database, but the date is set as a decimal type, and I can't change that. I need to know how I can format the decimal to look like `04/15/2017` instead of `20170415.00`
This is how that column is declared in my model.
... |
2018/03/15 | 1,142 | 4,368 | <issue_start>username_0: I have a horizontal `UIStackView` that, by default, looks as follows:
[](https://i.stack.imgur.com/UJWfc.png)
The view with the heart is initially hidden and then shown at runtime. I would like to reduce the spacing between the heart v... |
2018/03/15 | 889 | 3,483 | <issue_start>username_0: When I update subject tree with new subjects or change subjects, I do not see it reflected in the case subject dropdown. I can go back into the subject tree and I see my changes are there and saved.
How do I get my Subject tree changes to show in the case subject dropdown?<issue_comment>userna... |
2018/03/15 | 1,137 | 4,056 | <issue_start>username_0: I have a list of matrices that I want to be able to `cbind` into one matrix, but I run into a problem when they have different sized rows. To fix this I am trying to add empty rows to the bottom of the shorter ones, however the second to last step isn't quite working.
```
## LIST OF MATRACIES
... |
2018/03/15 | 1,416 | 3,720 | <issue_start>username_0: I have a list in R:
```
my_list <- list(a = 1, b = 2, c = list(d = 4, e = 5))
```
Suppose I don't know the structure of the list, but I know that somewhere in this list, there is an element named `d`, nested or not. I would like to:
1. Subset that list element, without knowing the structure... |
2018/03/15 | 234 | 837 | <issue_start>username_0: Looking to determine if BBB exists within the XML. I can effectively echo it out as shown below. How can I effective search the PRODUCT\_CODE node(s) to determine if BBB exists or NOT within the group?
**XML:**
```
AAA
BBB
CCC
```
**XSLT:**
```
```<issue_comment>username_1: Test for e... |
2018/03/15 | 1,430 | 4,187 | <issue_start>username_0: I have a DataFrame with >1M rows. I'd like to select all the rows where a certain column contains a certain substring:
```
matching = df['col2'].str.contains('substr', case=True, regex=False)
rows = df[matching].col1.drop_duplicates()
```
But this selection is slow and I'd like to speed it u... |
2018/03/15 | 704 | 2,965 | <issue_start>username_0: We want to present our data in a graph and thought about using one of graphdbs. During our vendor investigation process, one of the experts suggested that using graphdb on dense graph won't be efficient and we'd better off with columnar-based db like cassandra.
>
> I gave your use case some t... |
2018/03/15 | 431 | 1,518 | <issue_start>username_0: I have a `iframe` with `Google Calendar`:
```html
```
**Doubt:** I can customize `Google Calendar` using `CSS`? If not, I can customize otherwise?
I would like to change font size, color, etc.<issue_comment>username_1: Google Calendar exposes its APIs. They are available here and these are ... |
2018/03/15 | 569 | 2,104 | <issue_start>username_0: I am looking to write a script in PowerShell, however I want to set a variable and then have it fill the variable value in my script. To be more specific the variable I want to set is an IP address and I want to enter it into a script that pulls 3 files for me, as I manage a large number of com... |
2018/03/15 | 1,226 | 3,600 | <issue_start>username_0: I don't know much about R, and I have a variables in a dataframe that I am trying to calculate some stats for, with the hope of writing them into a csv. I have been using a basic for loop, like this:
```r
for(i in x) {
mean(my_dataframe[,c(i)], na.rm = TRUE))
}
```
where x is colnames(my... |
2018/03/15 | 1,213 | 3,592 | <issue_start>username_0: I am trying to read a CSV file using pandas read\_csv function but I keep getting an OSError. I have tried many different fixes but none of them seem to work. I have fixed a previous file not found error but unexpectedly got this error. Here is the code I used. Please note I am using Jupyter No... |
2018/03/15 | 2,157 | 8,734 | <issue_start>username_0: I've recently been learning asynchronous programming and I think I've mastered it. Asynchronous programming is simple just allowing our program to multitask.
The confusion comes with `await` and `async` of programming, it seemed to confused me a little more, could somebody help answer some of ... |
2018/03/15 | 837 | 2,683 | <issue_start>username_0: I have installed Docker containers according [manual](https://docs.docker.com/install/linux/docker-ce/ubuntu/#upgrade-docker-ce)
Command below adds repository with ubuntu containers:
```
$ sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_rele... |
2018/03/15 | 499 | 2,046 | <issue_start>username_0: Im trying to make a winapp that fills the document template file using the C# form and create a new .docx file. Where should i put the .docx file and how should i use it. I placed my template inside the Debug folder and load it like:
```
dox.LoadFromFile("template.docx");
```
Im having a pro... |
2018/03/15 | 535 | 1,791 | <issue_start>username_0: i want to submit my form using ajax following is my javascript
```
$.ajax({
type: "POST",
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
}
url: "http://localhost/shago/register/submit",
data: user_firstname,
dataType: "text",
... |
2018/03/15 | 597 | 1,903 | <issue_start>username_0: I have an Excel file that has a column with names. I am trying to write a macro so that when I search the column I obtain every record that has that name. The problem I am having is that in a single cell there may be 1, 2 or even more names (i.e. I'm searching for "DAVE", but in a single cell t... |
2018/03/15 | 290 | 1,270 | <issue_start>username_0: I have to make a simple catalog with products image upload with boilerplate.
Has anyone done something like this? Are there public examples of catalogs source code made with AspnetBoilerplate on the internet?<issue_comment>username_1: Ready to use solution? Unlikely. AspnetBoilerPlate is for co... |
2018/03/15 | 967 | 3,022 | <issue_start>username_0: Is it possible to pad an array with incrementing numbers? For example
```
$myArr = ["red", "green", "blue"];
$type = "colour";
```
I want to somehow merge these and add a sort order so I end up with the following
```
Array
(
[red] => Array
(
[type] => "colour"
... |
2018/03/15 | 1,297 | 4,669 | <issue_start>username_0: I am trying to add three new columns to my table - Scanned, Actions, and HowToFix.
However, I am getting an error that says:
>
> "Computed column 'Scanned' in table 'TEST\_concat' is not allowed to
> be used in another computed-column definition."
>
>
>
What can I do about this? I need... |
2018/03/15 | 1,236 | 4,047 | <issue_start>username_0: I'm very new to VBA and was hoping to get come clarification on a project. I've tried solving it with formulas but I need to still be able to enter information into cells and not have them filled with a lookup formula.
How I'm looking for it to preform is that if an object requires it to be sh... |
2018/03/15 | 924 | 2,887 | <issue_start>username_0: I am trying to make a div element to look like this: 
So how can I apply the skew transform property so that only one side(the bottom one here) gets tilted?<issue_comment>username_1: I think `Range("A2:A10").end(xlup)` is equi... |
2018/03/15 | 1,339 | 4,582 | <issue_start>username_0: Say I have the following four records (assume there are more):
```
record 1 record 2 record 3 record 4
area California Texas California California
food Lobster Lamb Rabbit Bagels
popular Bagels Elk Ra... |
2018/03/15 | 353 | 1,212 | <issue_start>username_0: I got a `Bad Request:400` error while sending base 64 PDF bytes to
DocuSign SOAP API(createAndSendEnvelope). Please help me in this issue.
Below is the code for converting PDF file into base 64 bytes:
```
File fFile = new File(pDFFileName);
byte[] bBytes = FileUtils.readFileToByteArray(fFil... |
2018/03/15 | 2,054 | 4,791 | <issue_start>username_0: I'd like to create a column in my dataframe that checks whether the values in one column are the dictionary values of *another* column which comprises the dictionary keys, like so:
```
In [3]:
df = pd.DataFrame({'Model': ['Corolla', 'Civic', 'Accord', 'F-150'],
'Make': ['To... |
2018/03/15 | 741 | 2,574 | <issue_start>username_0: So I want to create a simple result page that lets users download their results using the given code.
This is the script:
```html
php
$name = $_POST['logincode'];
$filename = $name.'/'.$name.'pdf';
header('Location: ./'$filename'');
?
```
The principle is when the user wri... |
2018/03/15 | 590 | 2,142 | <issue_start>username_0: i can't update the sdk tools, i don't know why, if use this command "sdkmanager --update" or "android update sdk" it will give me error like this title :
```
Warning: An error occured during installation: Failed to move away or delete existing target file: C:\androidSDK\sdk\tools
```
big tha... |
2018/03/15 | 868 | 2,400 | <issue_start>username_0: I'm looking for a method to have a variable number of nested for loops instead of the following code. For example if the variable **n** represents the number of nested for loops and **n = 3**, my code would be:
```
p = []
for i in range(26):
for j in range(26):
for k in range(26):
... |
2018/03/15 | 1,048 | 4,464 | <issue_start>username_0: I have two table
posts\_table
post\_id | user\_id | status\_message | date\_time
comments\_table
comments\_id | user\_id | post\_id | comments\_message | date\_time
My code is this i want show every post and show all comments message in this post
```
router.get('/', (req, res, next) => ... |
2018/03/15 | 768 | 2,847 | <issue_start>username_0: I'd like to create a component that I can instantiate multiple times pointing at (loading its data from) different vuex-namespaces. The component will gets most of its data from Vuex. So say I have a Person component, I could instantiate many copies of the Person component, based on different p... |
2018/03/15 | 1,808 | 6,935 | <issue_start>username_0: I'm totally new to TensorFlow and Python, so please excuse me for posting such a basic question, but I'm a bit overwhelmed with learning both things at once. **EDIT: I found a solution myself and posted it below, however, more efficient solutions are wellcome**
**Short version of the question:... |
2018/03/15 | 1,428 | 5,947 | <issue_start>username_0: I've set up a collection view with self sizing cells using auto layout. However, when I rotate the device the collection view still uses the portrait width and gets cut off. I am using flow layout and not the sizeForItemAt method.
Here is my main view controller:
```
import UIKit
class Hom... |
2018/03/15 | 885 | 2,708 | <issue_start>username_0: I'm using the following code (from stack overflow, thank you to the community!) to plot the proportions of different groups over time.
```
library(tidyverse)
df %>%
mutate(date = as.POSIXct(date)) %>% #convert date to date
group_by(group, date) %>% #group
summarise(prop = sum(outcome=="1... |
2018/03/15 | 590 | 2,250 | <issue_start>username_0: I have an Intent that opens a web page in FireFox on a Samsung tablet but it keeps opening a new tab each time. I've been using the putExtra() with an EXTRA\_APPLICATION\_ID and it previously did the trick and opened the page reusing the same browser tab but now its broke. I'm not sure if it ma... |
2018/03/15 | 1,366 | 3,218 | <issue_start>username_0: I need to process a csv file but one of the fields contains line breaks.
How can I replace all line breaks that are not after the double quote character (") with space? Any solution with awk, perl, sed etc is acceptable.
The file that is in the form:
```
497,50,2008-08-02T16:56:53Z,469,4,"fo... |
2018/03/15 | 497 | 1,559 | <issue_start>username_0: Let's say I have a string of names
It holds ["<NAME>","Patrick", "Star", "Sand<NAME>"]
How would I access each letter of the array using a for loop? So let's say I wanted to access the "J" in <NAME> all the way to the "s" in Sandy Cheeks?
**I can only use the library iostream and string**<i... |
2018/03/15 | 819 | 2,674 | <issue_start>username_0: I am trying to store db result into object.
Can some suggest me how to store .
```
using (SQLiteConnection connection = new SQLiteConnection(pluginManager.ConnectionString))
{
string sql = "SELECT * from contacts ;";
connection.Open();
SQLiteCommand command = new SQLiteCommand(s... |
2018/03/15 | 1,369 | 2,945 | <issue_start>username_0: I have a 3x1 point vector representing the start point of some line, and a 3x1 point vector representing the end of some line. I would like to sample an arbitrary amount of points along the line connected by these two points.
np.linspace does exactly what I need but in 1 dimension. Is there a ... |
2018/03/15 | 653 | 1,851 | <issue_start>username_0: I have an array with coins, e.g. (`coins=[10, 50, 100]`) and an array of the quantities of each coin (e.g. `quantity=[1, 2, 1]`). I want to generate a new list `l`, which shows all coins I have (e.g `l=[10, 50, 50, 100]`).
So far i have this, which does the trick:
```
coins=[i for s in [b*[a]... |
2018/03/15 | 652 | 2,010 | <issue_start>username_0: I have some simple PowerShell code to insert a value into a table:
```
Invoke-SqlCmd -ServerInstance myserver -Query 'insert into Database.dbo.tbl values (1)'
```
and if I save it as a file, I can call it in a CmdExec job step. However, can anyone tell me why I can't run the command, especia... |
2018/03/15 | 1,793 | 5,570 | <issue_start>username_0: I have some functions like push, pop, delete etc. for a singly linked list and implemented the following function to get user input:
```
void user_input(){
char input[10];
while(fgets(input, 9, stdin)){
if(strncmp(input, "add", 3) == 0){
int x;
printf("Number to add: ");
... |
2018/03/15 | 698 | 3,072 | <issue_start>username_0: In Windows UWP, what is the difference between the `ItemInvoked` and `SelectionChanged` events for a `NavigationView`? The [API reference](https://learn.microsoft.com/en-gb/uwp/api/windows.ui.xaml.controls.navigationview) states
>
> **ItemInvoked**
>
> Occurs when an item in the menu rec... |
2018/03/15 | 788 | 2,766 | <issue_start>username_0: I'm trying to change "+" on "-" by changing the class name and using "ng-click" event, but it changes all "+" elements on "-" in all divs.
[](https://i.stack.imgur.com/ovVpN.png)
[;
string certif = String.Format("{0}/client.cer", CertifPath);
string key = String.Format("{0}/client.key", CertifPath);
... |
2018/03/15 | 1,838 | 4,441 | <issue_start>username_0: I need to eliminate rows from a data frame based on the repetition of values in a given column, but only those that are consecutive.
For example, for the following data frame:
```
df = data.frame(x=c(1,1,1,2,2,4,2,2,1))
df$y <- c(10,11,30,12,49,13,12,49,30)
df$z <- c(1,2,3,4,5,6,7,8,9)
x y z... |
2018/03/15 | 806 | 3,061 | <issue_start>username_0: I am trying to remove the `structured data` that Woocommerce adds to the product pages.
I did some research and found that `WC_Structured_Data::generate_product_data()` generates the structured data markup. It's hooked in the `woocommerce_single_product_summary` action hook in the `woocommerc... |
2018/03/15 | 702 | 2,601 | <issue_start>username_0: I have a constructor whose parameters are both `int`: `Berries( int a, int b )` and I need to put a `double` in the place of "a" in the code: `Berries( 23.45, 6)`. I tried with cast, but it does not work.
Can you help me please ?<issue_comment>username_1: Instead, you can use dedicated filter... |
2018/03/15 | 510 | 1,784 | <issue_start>username_0: I need help with this script (i am a complete js newbie) i need the script to store the text that a user types in into a js variable and then print it, this is what i have so far but it doesn't seem to be working:
```
Insult:
function othername() {
var input = document.getElementById("... |
2018/03/15 | 629 | 2,231 | <issue_start>username_0: I have to parse a range of row keys by date in Google Cloud BigTable using a regex filter, where each date in the rowkey is stored as a reverse-timestamp according to the Unix Epoch (00:00:00 on January 1st, 1970).
For example, given `Date d = "2018-03-09T10:48:00.000Z"`, this date in MS sinc... |
2018/03/15 | 1,444 | 5,454 | <issue_start>username_0: What I'm trying to do is when a user (via a touchscreen) clicks on an editable QEditLine I want it to show the Matchbox-Keyboard for user input. When it is not clicked do not show the keyboard.
I've gone through the C documentation, and a few C examples, but I'm lost as too make the jump to P... |
2018/03/15 | 373 | 1,093 | <issue_start>username_0: I am trying to make a border that connects a horizontal line from the right. The sketch below is how it should look like, and I need ideas on how to create this. Thank you! I would greatly appreciate it on anyone who can help me.
[)
Index Work-Assigned Location
A R NL
B df MB
A NL
C ... |
2018/03/15 | 1,249 | 4,533 | <issue_start>username_0: I've got a program that will read from a file and add each line of the file as an element of an array. What I'm trying to do now though is to figure out how to edit certain items in the array.
The problem is my input file looks like this
```
number of array items
id, artist name, date, locati... |
2018/03/15 | 911 | 3,288 | <issue_start>username_0: I'm creating LoginActivity-> OtherActivity-> Fragment 1-> Fragment\_2. When I click Back Button I'm back in Fragment\_1 when again I click BackButton I'm in LoginActivity why?
I want come back to MainActivity after the click BackButton in Fragment \_1 and after next click BackButton (in MainAc... |
2018/03/15 | 1,174 | 3,768 | <issue_start>username_0: I am trying to create a program that creates a character by randomly assigning it a race, class, and stats.
However I want each stat to have a unique value. So if `strength` is 8, then none of the other stats can be 8. How would I go about doing this? Do I need to delete list entries as choice... |
2018/03/15 | 482 | 1,757 | <issue_start>username_0: What is the best practice for an input field that takes an IP-Address?
ie: Numbers and dots.
I've initially chosen `type='number'`, However, I noticed that as soon as I type a **second** dot `.` followed by the next number, my submit button gets disabled.
*ex: 123.124.4 (boom! button disabl... |
2018/03/15 | 935 | 3,013 | <issue_start>username_0: Following the [PEP 3101](https://www.python.org/dev/peps/pep-3101/#explicit-conversion-flag), I try to use as often as possible the format() method.
In the Explicit Conversion Flag chapter, it is possible to read:
>
> !r - convert the value to a string using
> repr().
>
>
>
Indeed:
```
... |
2018/03/15 | 441 | 1,683 | <issue_start>username_0: There is an example for EnableDynamoDBAutoscaling in <https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/AutoScaling.HowTo.SDK.html>.
However, using this example results in one deprecated warning for the line:
```
static AWSApplicationAutoScalingClient aaClient = new AWSApplica... |
2018/03/15 | 3,397 | 6,292 | <issue_start>username_0: I'm trying to deploy my Django project on Heroku, but something is going wrong, and I'm not able to found out what is happening, and what to do in order to solve this. I read in other posts that the problem may be something related with Gunicorn, but I can't solve it.
```
(env) ignacio@ignacio... |
2018/03/15 | 463 | 1,267 | <issue_start>username_0: Given the following DataFrame how can I retrieve only the values where IS\_TESTED has both True and False values.
```
d = pd.DataFrame({"ID":[700,700,701,702,702,703],"IS_TESTED":[True,False,True,False,True,True],"TEST_NAME":["A","B","A","A","B","A"]})
```
[
print('That text is found at... |
2018/03/15 | 762 | 2,717 | <issue_start>username_0: As shown below, I have a struct that has a few bitfields. I also have a union that contains a volatile 64-bit value and this struct. Are changes to the struct, accessed through the union, also volatile?
i.e. since the struct and the volatile int share the same memory location, do accesses to ... |
2018/03/15 | 2,590 | 7,891 | <issue_start>username_0: Having used this page as a reference:
<http://executeautomation.com/blog/running-chrome-in-headless-mode-with-selenium-c/>
I have tried to get Chrome working in headless mode (with a view to running under SpecFlow/xUnit). This has failed spectacularly and I would like to know if anyone has a s... |
2018/03/15 | 1,229 | 4,467 | <issue_start>username_0: I am getting an error code that is auto-generated when I use webpack and babel in a NodeJs React application:
```
Uncaught ReferenceError: Invalid left-hand side in assignment
```
Here is the offending line in the code auto-generated by babel/webpack:
```
"development" = 'development'; // b... |
2018/03/15 | 577 | 1,635 | <issue_start>username_0: I'm writing a simple game and I have a problem with generating values. I need to generate a number between 1 and 500, but only in the form of 10, 20, 30, 40, 50 etc. I have written such a function, but the numbers adjust once for an average of 100 page refreshments. How can I do this?
```js
co... |
2018/03/15 | 1,931 | 8,015 | <issue_start>username_0: I'm still a bit new to rxjs in Angular 5 and it a bit hard to formulate my question. Still I hope for some tips.
I often end up with the same setup:
* Multiple Components to display the same data
* A single Service to access the data
Now I have 2 options when receiving data via Observables:
... |
2018/03/15 | 486 | 1,603 | <issue_start>username_0: If I had an input field like so for example:
```
```
And the user enters 'abc' for example, how can I change this immediately to '123'?
I want this to happen as soon as soon as the user enters 'abc'.
How can I do this?<issue_comment>username_1: Hope this will help you, use keyup event to ge... |
2018/03/15 | 492 | 1,657 | <issue_start>username_0: Why is Live Reload, Hot Reload, and Remote Debugger all unavailable? I've tried
1. Reloading JS Bundle
2. Restarting the simulator
3. Restarting packager
4. Restarting packager and clearing cache
5. Resetting the simulator
6. Restarting the computer
Prior to this, everything was working fine... |
2018/03/15 | 588 | 1,817 | <issue_start>username_0: For some reason after updating to the latest version of Windows 10 build, Query.h file fails to compile with my C++ code! We use Query for our FPS time-step counter which is vital for any type of game engine, however since the transmission from version 10.0.15063.0 to 10.0.16299.0, we get the f... |
2018/03/15 | 955 | 2,347 | <issue_start>username_0: I have an input file. The first string of the third column will be always the fourth column. I want to remove the third column string from the first column.
The input format is
```
7 6502549 TA T
7 6502822 GAAGAA G
17 8347553 TAA T
17 8354321 CG C... |
2018/03/15 | 637 | 2,255 | <issue_start>username_0: I have "n" different clasess
```
.classOne
.classTwo
.classThree
.classFour
....
.classN
```
I want to bind `.classTwo` & unbind the rest except `.ClassOne`, How Should I do that?
```
$("#container").off("click"); /*except classOne*/
$("#container").on("click.ClassTwo",function... |
2018/03/15 | 490 | 1,788 | <issue_start>username_0: I have 2 view controllers (**VC1** & **VC2**). Both of them are made **programmatically** without InterfaceBuilder. I'm trying to **segue from VC1 to VC2** through code. I know there are methods like:
* performSegue(withIdentifier: String, sender: Any?)
* prepare(for: UIStoryboardSegue, sender... |
2018/03/15 | 1,505 | 5,658 | <issue_start>username_0: is there any difference between chained:
```
r.db('catbox').table("bw_mobile").filter(
r.row("value")("appVersion")("major").le(2)
).filter(
r.row("value")("appVersion")("minor").le(2)
).filter(
r.row("value")("appVersion")("patch").le(10)
)
```
nested:
```
r.db('catbox').table("bw_... |
2018/03/15 | 708 | 2,362 | <issue_start>username_0: I am using html-pdf in electron to generate pdf from a html.
It is worked when I tested by "npm run start". I can get pdf.
But when I package electron app to .dmg file by electron-builder,
I got "spawn ENOTDIR" error when call pdf.create()
```
var pdf = require('html-pdf');
var options = { ... |
2018/03/15 | 1,837 | 5,276 | <issue_start>username_0: I have a data frame that looks like this:
```
line = c(1, 2, NA, 4 ,5, NA, 7)
group = c("1.0 Group A", "2.0 Group B", "3.0 Group C", "4.0 Group D", "5.0 Group E", "6.0 Group F", "7.0 Group G")
df <- data.frame(line, group)
view(df)
line group
1 1 1.0 Group A
2 2 2.0 Group B
3... |
2018/03/15 | 470 | 1,886 | <issue_start>username_0: I am using WPF MVVM design pattern. I need to raise a PreviewKeyDown event from a textbox that was created using an ItemsControl. I am able to add items to the collection SourceCollection, but unable to trigger the PreviewKeyDown event using interaction triggers. Any ideas on what I might be mi... |