date stringlengths 10 10 | nb_tokens int64 60 629k | text_size int64 234 1.02M | content stringlengths 234 1.02M |
|---|---|---|---|
2018/03/20 | 1,273 | 5,112 | <issue_start>username_0: I am building a PWA from my Angular app and I am getting the following error when I run `ng build --prod`:
```
ERROR in app\app.module.ts(108,64): Error during template compile of 'AppModule'
Function calls are not supported in decorators but 'Environment' was called in 'environment'
'environm... |
2018/03/20 | 1,314 | 4,400 | <issue_start>username_0: I need to subtract current REQ\_START\_DATE from ( previous ACTUAL\_START\_DATE + RUN\_DURATION) in order to check the timing whether job is requested before completion of the previous execution.
Tried using below query:
```
WITH delay_in_start AS (
SELECT LOG_ID, LOG_DATE, OWNER, JOB_NAME, ... |
2018/03/20 | 1,170 | 2,884 | <issue_start>username_0: ```
g++ -std=c++14 -m32 -I/export/home/ab0599/local/include -L/export/home/ab0599/local/lib xerces_tst1.cpp -o xerces_tst1 -lxerces-c-3.2
Undefined first referenced
symbol in file
__1cG__CrunKpure_error6F_v_ /export/home/ab0599/local/l... |
2018/03/20 | 1,663 | 6,579 | <issue_start>username_0: I am having problems in decoding JSON response using Swift 4 Decoding Functionality.
I have main construct and it has one inner construct var hr\_employees: [Employee]? = []. The problem is JSON not mapping for 'var hr\_employees: [Employee]? = [].
I am getting correct values forthe three roo... |
2018/03/20 | 533 | 1,665 | <issue_start>username_0: RxJS provides a function called `forkJoin`. It allows you to input multiple `Observables` and wait for all of them to finish. I am wondering if the resulting array will contain the results in the same order as the order of the input observables. If it wil not, which one of the operators does ma... |
2018/03/20 | 328 | 1,143 | <issue_start>username_0: Well, we got parables exam preparations and instead of me typing everything a million times, I thought of rather making a little Python script. It's done, but something's bugged. I've been stuck on it for around 30 minutes and just can't figure it out as my Python is a bit rusty.
You can find ... |
2018/03/20 | 385 | 1,388 | <issue_start>username_0: How to use hash, i can write this class better?
```
class Bank
def initialize(name, city, country, max_credit_value, min_credit_value, credit_time)
@name = name
@coordinates = coordBainates
@country = country
@max_credit_value = max_credit_value
@min... |
2018/03/20 | 2,405 | 7,594 | <issue_start>username_0: I have an [example spring boot project](https://github.com/MaxHoefl/demo-mongodb) which uses mongo db for persisting objects. I would like to test it with an embedded mongo db but I get an error which is very similar to [this question](https://stackoverflow.com/questions/45956233/easiest-way-to... |
2018/03/20 | 1,019 | 3,567 | <issue_start>username_0: I haven't updated anything recently that I can think of that would have impacted nacl and the signing process for paramiko, but now it will not work. I have reinstalled paramiko, and netmiko and made sure all of the crypto libraries are up to date. I am at a loss what else to do, any thoughts?
... |
2018/03/20 | 598 | 2,160 | <issue_start>username_0: I have a very large table with billions of rows. The following statements return the same result, but the first one (2 step query) took 22 seconds while the second one (table join) took 3 minutes.
ColID is the Identity column with primary key
An index is created based on colA and colB
---
``... |
2018/03/20 | 606 | 2,123 | <issue_start>username_0: I'm plotting a wind vector over an Atlantic map.
To represent the vector I have use this code, where u, v, lon and lat are variables that I get from a database (in netcdf4 format):
```
ugrid,newlons = shiftgrid(0.,u,lon, start = False)
vgrid,newlons = shiftgrid(0.,v,lon,start=False)
uproj,vpr... |
2018/03/20 | 360 | 1,012 | <issue_start>username_0: I'm sure there's an awk solution to this, but I've been fumbling with it for far too long. I'm trying to print repeats of a string from one file, based on the corresponding line value from another file. For example:
**file1.txt**
```
Hello
Beautiful
World
```
**file2.txt**
```
2
4
3
```... |
2018/03/20 | 4,046 | 13,559 | <issue_start>username_0: I am having this issue
```
system3:postgres saurabh-gupta2$ docker build -t postgres .
Sending build context to Docker daemon 38.91kB
Step 1/51 : FROM registry.access.redhat.com/rhel7/rhel
Get https://registry.access.redhat.com/v2/: Service Unavailable
```
---
```
docker run -t apline
Un... |
2018/03/20 | 1,208 | 2,849 | <issue_start>username_0: I want to use apply to replace values in a dataframe, if >8 1 star, if >10 2 stars, if >12 3 stars, else NS.
```
mydata<-data.frame(A=1:10, B=3:12, C=5:14)
apply(mydata, 2, function(x) ifelse(x > 12, "***"|x > 10, "**"|x >= 8, "*"|x <8, "NS", x))
```<issue_comment>username_1: This is not a p... |
2018/03/20 | 713 | 2,747 | <issue_start>username_0: My output from SQL is as follows:
```
------------------------------------
| Name | Identifier | Date | Value |
-------------------------------------
| A | Bid | XX/XX | 10 |
-------------------------------------
| A | Ask | XX/XX | 11 |
-----------------------------... |
2018/03/20 | 888 | 2,953 | <issue_start>username_0: Is there a way to check if it's DST (Daylight Saving Time) with UTC, **without using conversion**?
I don't want to use conversion because it's ambiguous on the 28 october at 2 am. This:
```
using System;
namespace Rextester
{
public class Program
{
public static void PrintSea... |
2018/03/20 | 537 | 1,938 | <issue_start>username_0: I would like to dynamically add watermark to a report that is generated in Stimulsoft. The watermark can not be hard-coded and only appear if the report was generated in TEST environment.
I have a variable that checks if the report was created in test environment:
isTestEnv
Which means that i... |
2018/03/20 | 865 | 3,392 | <issue_start>username_0: I'm trying to call a promise function recursively.
The following call service.getSentenceFragment() returns upto 5 letters from a sentence i.e. 'hello' from 'helloworld. Providing a nextToken value as a parameter to the call returns the next 5 letters in the sequence. i.e. 'world'. The follow... |
2018/03/20 | 644 | 2,697 | <issue_start>username_0: I made a private app using shopify-api-node package which is working perfect in local development using ngrok.
I registered a webhook "products/update" which is working fine.
registered url local: `https://example.ngrok.io/webhooks/product-update`
but the same webhook registered with producti... |
2018/03/20 | 1,558 | 5,465 | <issue_start>username_0: `delete_blob()` seems to delete only the files inside the container and from folders and subfolders inside the container. But i'm seeing below error in python while trying to delete a folder from container.
>
> Client-Request-ID=7950669c-2c4a-11e8-88e7-00155dbf7128 Retry policy did not allow ... |
2018/03/20 | 558 | 1,918 | <issue_start>username_0: Why the second function didn't use the **"use strict";** mode (*it shows me window object in console*):
```
function test() {
console.log(this);
}
test(); // will be global or window, it's okay
"use strict";
function test2() {
console.log(this);
}
test2(); // will be global, BUT W... |
2018/03/20 | 1,815 | 6,133 | <issue_start>username_0: I am getting started with Apache isis (I have Windows 10) and following their tutorial (<https://isis.apache.org/guides/ugfun/ugfun.html#_ugfun_getting-started_helloworld-archetype>)
I installed Java and Maven, added them to the path and then I created a folder inside which when I run command ... |
2018/03/20 | 725 | 2,716 | <issue_start>username_0: I am trying to mock spring's applicationContext.getBean(String, Class) method in below manner -
```
when(applicationContext.getBean(Mockito.anyString(), Mockito.eq(SomeClass.class))).thenAnswer(
new Answer() {
@Override
public SomeClass answer(InvocationOnMock invocation) th... |
2018/03/20 | 930 | 3,269 | <issue_start>username_0: I am using docker image <https://hub.docker.com/_/mongo/> (Latest MongoDB version)
I run command
```
docker run --name some-mongo -d mongo
```
Then I install [Studio 3T](https://studio3t.com)
I enter connection information like this
[ do
```
[f(0) for f in funcs]
```
but is there any other machinery for this in the standard library, akin to the `map` func... |
2018/03/20 | 1,584 | 6,123 | <issue_start>username_0: How can I implement the mongoose plugin using nestjs?
```
import * as mongoose from 'mongoose';
import uniqueValidator from 'mongoose-unique-validator';
import mongoosePaginate from 'mongoose-paginate';
import mongoose_delete from 'mongoose-delete';
const UsuarioSchema = new mongoose.Schema({... |
2018/03/20 | 429 | 1,381 | <issue_start>username_0: HTML:
```
Search
```
This is from an example using Bootstrap v4.alpha2.
(I already found out that float- should be used, instead of pull- :(
But it does not work in Bootstrap v4.0.0; that I have installed using bower.
What is the solution, to get the form on the right edge?
Or can the cl... |
2018/03/20 | 1,011 | 3,973 | <issue_start>username_0: On one of Oracle DB instances I am working on I am observing a different than normal behavior when recompiling packages.
Typically, (as in question [Frequent error in Oracle ORA-04068: existing state of packages has been discarded](https://stackoverflow.com/questions/1761595/frequent-error-in... |
2018/03/20 | 948 | 3,569 | <issue_start>username_0: this is such a simple problem but for some reason, I cant wrap my head around Array of Objects or Object Arrays. All I have to do is take in 5 user inputs, and create a class called Height, create object array and store user inputs into obj array and print the average. I'm kinda stuck.
```
cla... |
2018/03/20 | 776 | 2,724 | <issue_start>username_0: I have scoured google, and stackover flow, and just cant get to the bottom of this issue. I cannot get the following php code to connect to SQL. Its a simple php web document, that i am using to test out some things. SQL is sqlexpress 2016, and its running on IIS with php 7.x installed. PHP cod... |
2018/03/20 | 355 | 1,259 | <issue_start>username_0: How can I combine a vuejs condition with a vuejs variable and an elixir variable?
```
```<issue_comment>username_1: I think you didn't escape your backslash with another backslash. Try this:
```
php
$servername = 'RemoteServerName\\SqlInstance';
?
```
Upvotes: 0 <issue_comment>username_2: m... |
2018/03/20 | 401 | 1,488 | <issue_start>username_0: What i want to do is fairly simple.
I have a form in LibreOffice Base with a text box to enter some data and a button to execute a macro.
Now i want to get with the macro on the clicking button the entered value of the text box and print it with the Print("...") function.
This what i got so f... |
2018/03/20 | 423 | 1,704 | <issue_start>username_0: I'm developing a service which has to copy multiple files from a central node to remote servers.
The problem is that each time the service is executed, there are new servers and new files to dispatch to these servers. I mean, in each execution, I have the information of which files have to be... |
2018/03/20 | 420 | 1,732 | <issue_start>username_0: Does Game Maker have the capability to do multiplayer in the form of many different rooms. I'm trying to create an online Arena style gladiator type game, and I can't have an obscene amount of characters in one arena, so I need many different rooms, created upon need. Can I have different rooms... |
2018/03/20 | 1,277 | 4,466 | <issue_start>username_0: I need to change this
```
data = models.CharField(max_length=500, null=True)
```
to this
```
data = JSONField(null=True, blank=True, default={})
```
From what I understand, I have to write custom migration. Closest info I managed to find is [here](https://stackoverflow.com/questions/49274... |
2018/03/20 | 1,234 | 3,410 | <issue_start>username_0: I would like to get the current and next months using shell script, I have tried this command:
```
$ date '+%b'
mar
$ date +"%B %Y" --date="$(date +%Y-%m-15) next month"
March 2018
```
But it always displays only the current month.
Could you please help me if there is something wrong wit... |
2018/03/20 | 1,364 | 3,735 | <issue_start>username_0: I'm writing a Python program that returns out of how many combinations in a list you can create a triangle.
Example:
```
--> test([1,1,3])
0 #you cant make a triangle out of 1,1,3 (the only combination in this list)
--> test([2,789,5,3,3237,4])
3 #you can make a triangle out of [2,5,4],[5,3,... |
2018/03/20 | 760 | 3,349 | <issue_start>username_0: I am using the `connectivity` plugin in my flutter to check for the connection status, but occasionally hitting the error `PlatForm Exception(No active stream to cancel, null)` even though i have handled the null case. I have subscribed to the stream in `initState` and cancelled the subscriptio... |
2018/03/20 | 1,724 | 7,110 | <issue_start>username_0: I would like to use generics to create an abstract service that can be subclassed
So far I have created 3 entities:
```
@Inheritance(strategy = InheritanceType.JOINED)
@Entity
@Table(name = "logging_event_base")
abstract class LoggingEventBaseEntity constructor(
@Id
@Generated... |
2018/03/20 | 954 | 3,345 | <issue_start>username_0: I have this code: <https://pastebin.com/zgJdYhzN> in Javascript. It's supposed to fade in text when the scrolling function reaches a certain point and while this does work, there will be several pages using it and I'd like to avoid having to create several instances of this function. It would b... |
2018/03/20 | 764 | 2,436 | <issue_start>username_0: I am working on a project and got stuck. I have a background image which is 16:9 ratio.
```
body {
margin: 0px;
padding: 0px;
background-image: url("background.jpg");
background-size: 100%;
position: absolute;
background-repeat: no-repeat;
}
//for example:
.inventory {
backgroun... |
2018/03/20 | 693 | 2,629 | <issue_start>username_0: I'm learning about vectors in `Accelerated C++` by <NAME> and <NAME>. Can anyone explain the difference between these?
```
vector x;
```
and
```
vector x(const string& s) { ... }
```
Does the second one define a function `x` whose return type must be a vector and whose return value is st... |
2018/03/20 | 976 | 3,862 | <issue_start>username_0: i'm trying to deserialize the following json:
```
{
"oxide":{
"Al2O3":"0.3",
"CaO":"0.3",
"FeO":"0.3",
"MgO":"0.3",
"MnO":"0.3",
"SiO2":"0.3"
},
"temperature": "1800"
```
}
When I convert in this way everthing works:
```
Oxides oxides = new Oxides();
... |
2018/03/20 | 532 | 2,037 | <issue_start>username_0: Try to disable tracking position on occulus, don't find any doc on it.
I've search postionnal tracking, but nothing in aframe
<https://github.com/aframevr/aframe/search?utf8=%E2%9C%93&q=tracking&type=>
Maybe with THREE.JS?<issue_comment>username_1: This is not possible using any built-in A-F... |
2018/03/20 | 346 | 961 | <issue_start>username_0: I've got such list:
```
List rows = new CsvParser(settings).parseAll(new File("Z:/FV 18001325.csv"), "UTF-8");
```
What's the simplest way to print them to console?
I've tried
```
System.out.println(Arrays.toString(rows));
```
And also:
```
String joined = String.join(",", rows);
Syste... |
2018/03/20 | 437 | 1,429 | <issue_start>username_0: I currently use vim and tmux to edit my code. During debugging, I often have to:
1. Save my changes in vim
2. Head over to the terminal pane
3. Run `python -i script.py`
4. Do some testing (e.g. print some variables, check out error messages, etc), then head back to my vim pane.
However this ... |
2018/03/20 | 1,044 | 4,465 | <issue_start>username_0: I am creating a .net-core2 web-api, which allows users from an Azure-AD to consume it. The API is multi-tenant, so users from multiple Azure-AD's should be able to authorize.
However, it is also possible to create an account for users who do not have a corporate Azure-AD account. These users ... |
2018/03/20 | 919 | 3,404 | <issue_start>username_0: I wanted to convert textfile to dataframe using case class and below is my code. It works till map split where I can see the value using `rdd_metadata_schema.take(1).foreach(arr => print(arr.toList))` but is empty when I check for the dataframe.
```
case class metadata_schema(
... |
2018/03/20 | 448 | 1,417 | <issue_start>username_0: I've created a calendar timeline in html. I want to create a vertical line that progresses from left to right over time, the line needs to overlay all the html elements. Similar to Google calendar's way of letting you know what time of day you are at.
An example below of what I want:
[![timel... |
2018/03/20 | 511 | 1,382 | <issue_start>username_0: i have 3 different PC models, I want to deploy a script to those 3 models. the script run wmic query and check the PC model and when it match to one of those it go to a path and install application.
I am testing the below script, But could not make it work
This is normal text
```
@for /f... |
2018/03/20 | 572 | 1,712 | <issue_start>username_0: I am trying to use Travis stages in a matrix but it seem that script used is the default one (`npm run test`) except for one.
Here the travis.yml
```html
if: tag IS blank
git:
depth: 1
sudo: false
matrix:
fast_finish: true
cache: yarn
language: node_js
node_js:
- "node"
... |
2018/03/20 | 1,350 | 4,101 | <issue_start>username_0: I have a sentence for which i need to identify the Person names alone:
For example:
```
sentence = "<NAME> is an American business magnate and computer scientist who is the co-founder of Google, alongside <NAME>"
```
I have used the below code to identify the NERs.
```
from nltk import wor... |
2018/03/20 | 1,165 | 3,720 | <issue_start>username_0: I want to Export data table to JSON file i tried these code lines
```
import { ErrorHandler } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { Component, Input } from '@angular/core';
import { Injectable } from '@angular/core';
import { Http, Response, Headers... |
2018/03/20 | 2,151 | 5,098 | <issue_start>username_0: I want to download a number of .txt-files. I have a data frame'"New\_test in which the urls are under 'url' and the dest. names under 'code
"New\_test.txt"
```
"url" "code"
"1" "http://documents.worldbank.org/curated/en/704931468739539459/text/multi-page.txt" "704931468739539459.txt"
"2" "... |
2018/03/20 | 409 | 1,654 | <issue_start>username_0: If I use CoreLocation by itself with the highest accuracy possible, I get an update once a second or 1Hz. However, if I have an external bluetooth connected GPS unit with a 10Hz refresh rate, I still only get a response from CoreLocation at 1Hz.
Is there something I'm doing wrong? Or will Cor... |
2018/03/20 | 441 | 1,514 | <issue_start>username_0: I have the following table created with fixed column width as follows,
```
Table headerTable = new Table(new float[]{5,5,5});
headerTable.setWidthPercent(100);
headerTable.addCell(new Cell().add(new Paragraph("Student Name : <NAME>(xxxx-xxx-xxx-xxx)")).setFontSize(10).setTextAlignment(Tex... |
2018/03/20 | 238 | 1,000 | <issue_start>username_0: My team has an app that was developed with react-native. We are now contemplating creating a new version with native iOS technology and language (Swift). I want to make sure before we start developing, that Apple will accept an app that is completely new in every way, but that has the same bund... |
2018/03/20 | 830 | 2,298 | <issue_start>username_0: I am trying to count the number of duplicates that appears on a table for example:
```
First| Last | ADDR1 | City | ST | Zip
-----+-------+-----------------+-----------+----+------
John | Smith | 1234 Fake St. | Hollywood | CA | 12345
John | Smith | 1234 Fake St. | Hollywo... |
2018/03/20 | 710 | 1,905 | <issue_start>username_0: I have a dataframe(df1) as below:
```
clust longitude latitude
1 77.62279999 12.95248389
1 77.62517676 12.95027966
2 77.62753442 12.93745478
2 77.62753442 12.93745478
3 77.62217671 12.93353553
3 77.62217671 12.93353553
```
I have a another dataframe with set of longitude/lati... |
2018/03/20 | 538 | 1,552 | <issue_start>username_0: My code in HTML
```
```
My component
```
this.today = Date.now();
this.title = 'Añadir';
this.alumno = new Alumno('','','','','','',null,'','','Alta');
```
In the array of alumno the value of fechainscripcion is null.
I want to see value "{{today | date:'dd/MM/yyyy'}}" in the input.<is... |
2018/03/20 | 699 | 2,339 | <issue_start>username_0: I am running a code that navigates through folders and finally arrives at a destination and downloads a file by just clicking on it.
For example, to find a folder I am using:
```
find_element_by_link_text("Pricing and Catalogs")
```
The problem is that the folder sometimes isn't written exa... |
2018/03/20 | 1,061 | 3,381 | <issue_start>username_0: In C# I can do the following:
```
public delegate void Callback();
void f1() {
}
void f2() {
}
Callback c = f1;
c+=f2;
```
And then when I call `c()` I will `f1` and `f2` get called.
How can I achieve the same result in javascript?
I mean I can do in javascript the following:
```
var... |
2018/03/20 | 539 | 2,274 | <issue_start>username_0: I have a public dictionnary within a public class as follow:
```
namespace ApiAssembly
{
public static class TypeStore
{
///
/// Initializes static members of the class.
///
static TypeStore()
{
Store = new Dictionary();
}
///
/// Gets the ... |
2018/03/20 | 391 | 1,550 | <issue_start>username_0: Hi I have a date field and few of the records are null.
my date field is called LSF.EarliestFrom
when I use this code
```
isnull(LSF.EarliestFrom,'') as LSFDateAppliesFrom
```
the output comes as 1900-01-01.
Any help will be appreciated.<issue_comment>username_1: Expose it as:
```
IReadO... |
2018/03/20 | 825 | 2,616 | <issue_start>username_0: ```
select
m.messageid,
m.message,
m.orig,
m.recip,
d.company as orig_company,
d.department as orig_department,
d.office as orig_office,
d.country as orig_country
from department d
join messages m
on m.originator = d.address
select
m.messageid,
m.message,
m.orig,
m.recip, ... |
2018/03/20 | 1,050 | 3,717 | <issue_start>username_0: Spring Noob: OK. I start with a STS Spring Starter Project / Maven / Java 8 / Spring Boot 2.0, and select the Web and Actuator dependencies. It builds and runs fine, and reponds to <http://localhost:8080/actuator/health>. I add an "Endpoint" to the main application class, so that it looks like ... |
2018/03/20 | 424 | 1,407 | <issue_start>username_0: I am using Vue.js 2.0 and I am trying to emit an event from `child component` to `parent component` but it's not working.
You can see my code below:
**child component:**
```
Send
export default {
methods: {
confirmSendMessage () {
this.$emit('confirmed')
}
}
```
**parent component... |
2018/03/20 | 598 | 2,127 | <issue_start>username_0: I'am Scanning a CSV File with the following Code:
```
public void scanFile() {
boolean isNumber = false;
String test;
try {
sc = new Scanner(Gui.selectedFile);
sc.useDelimiter("[;\"]");
while (sc.hasNext() && isNumber == false) {
test = sc.nex... |
2018/03/20 | 657 | 2,146 | <issue_start>username_0: It might be a stupid question, but I can't get my wrap my head around it.
How to execute a jar created with `maven package` that brings quite a few dependencies with it (the resulting jar is 100MB)?
I don't have a mainClass but I wish to run it depending on the modules I want to execute.
... |
2018/03/20 | 1,102 | 4,590 | <issue_start>username_0: Is it possible to have a 2 way data flow using Subjects in a service? Suppose for example that I want some component to retrieve information and then post it through the service Subject for other another component to consume.
The consuming component then makes some changes to this information ... |
2018/03/20 | 1,857 | 5,590 | <issue_start>username_0: I have a sensor that output data consist of one attribute (mono value). An example of punch of sequenced data is as follows:
sample:
199
200
205
209
217
224
239
498
573
583
583
590
591
594
703
710
711
717
719
721
836
840
845
849
855
855
856
857
858
858
928
935
936
936
942
943
964
977
You can ... |
2018/03/20 | 1,801 | 6,192 | <issue_start>username_0: I have a team sheet and I need to report the forecast for the next week every Friday via Email.
[](https://i.stack.imgur.com/4nv4o.png)
I built a macro which is creating an email.
```vb
Sub SendMail()
Dim rng As Range
Dim OutApp As O... |
2018/03/20 | 847 | 2,819 | <issue_start>username_0: I see one of my makefile and see the below command.
```
g++-5 -std=c++11
```
From what I understand, the std option represents this -
GCC supports different dialects of C++, corresponding to the multiple published ISO standards. Which standard it implements can be selected using the -std=... |
2018/03/20 | 1,100 | 4,585 | <issue_start>username_0: Is it possible to pass a function to a `stencilJs` component?
Something like:
```
@Prop() okFunc: () => void;
```
I have a modal and want to dynamically call a passed function on the `Ok` button clicked in the modal footer, like an `onClick` on a normal HTML button.<issue_comment>username_1... |
2018/03/20 | 1,142 | 4,667 | <issue_start>username_0: I use TYPO3 8.7. I want to include contact form on site via typoscript. This contact form inserted in gridelement with id=29.
In typoscript I write
```
lib.contactForm = RECORDS
lib.contactForm {
source = 29
tables = tt_content
dontChekPid = 1
}
```
When I logged into back-end I see t... |
2018/03/20 | 1,551 | 3,428 | <issue_start>username_0: I have a dict like this:
```
SHOPS_AND_ORDERNUM = {
'Shop - Produce - 20180212.xlsx': 1334,
'Shop - Organic - 20180223.xlsx': 8893,
'Shop - Fresh - 20180226.xlsx': 5557,
'Shop - Dairy - 20180227.xlsx': 3870
}
```
I want to extract the dates from the dict above into the form:
DD-MM-YYYY
... |
2018/03/20 | 1,322 | 5,353 | <issue_start>username_0: I got an exception null object reference, when i use setAdapter to recyceler view in onCreateView method in Fragment. Please tell me what i do wrong or how i can do this? I use getActivity() instead of "this".
I need create TabbedActivity. Can i do this whithout fragment?
One.java
```
public... |
2018/03/20 | 888 | 2,413 | <issue_start>username_0: I am working with a project in ASP MVC and Bootstrap where I have the need to show the regulation of a transformer, this is represented in the following way:
[](https://i.stack.imgur.com/VzVcA.png)
I was trying to do it in th... |
2018/03/20 | 846 | 2,385 | <issue_start>username_0: I feel like this should be so simple. I need to validate a decimal value with a range of (0 - 99.999999) OR I need to be able to mark the value with "TBD". I have no way to change that requirement or I may have done it another way. Is there a way to handle multiple validation types through data... |
2018/03/20 | 790 | 2,148 | <issue_start>username_0: I’m a I.T student..
I need help with who Java work with creating a pdf files, but without using the “pdfbox”
Or can we do this in first place?
Thanks for helping<issue_comment>username_1: Here is something you can start with:
```css
.txt{ height: 40px; display: table-cell; vertical-align: mid... |
2018/03/20 | 1,038 | 3,285 | <issue_start>username_0: Quite often I am navigating a two-dimensional image matrix of pixels or a three-dimensional volumetric data set. Typically the underlying data structure is a one-dimensional array of some primitive type like `Double` or `Int`. The multi-dimensional nature is navigated through by nested for-loop... |
2018/03/20 | 6,444 | 15,007 | <issue_start>username_0: The markers on a Leaflet map are not centered when I open <https://waarismijnstemlokaal.nl/s/Losser> in Internet Explorer 11, see the image below:
[](https://i.stack.imgur.com/JjJYF.png)
But if I press F5 or click the refresh but... |
2018/03/20 | 1,695 | 4,399 | <issue_start>username_0: I would like to compute the 1-year rolling average for each row in this Dataframe `test`:
```
index id date variation
2313 7034 2018-03-14 4.139148e-06
2314 7034 2018-03-13 4.953194e-07
2315 7034 2018-03-12 2.854749e-06
2316 7034 2018-03-09 3.907458e-0... |
2018/03/20 | 419 | 1,612 | <issue_start>username_0: A few week ago, WebUSB was able to communicate with my custom HID device on both MAC and Window platform.
Now it seems that latest Chrome update (65.0.3325.162) has removed this support on Window platform.
<https://chromium-review.googlesource.com/c/chromium/src/+/951635>
Can someone please c... |
2018/03/20 | 351 | 1,282 | <issue_start>username_0: Does anyone know a reason why the body of the map function is not being called?
Other than the API not working, which I have checked and it is working.
```
this.httpClient.get(this.url)
.map(
(data) => {
console.log('here');
console.log(data);
return data;
}
)
... |
2018/03/20 | 486 | 1,647 | <issue_start>username_0: I am trying to collect prices for films on Vudu. However, when I try to pull data from the relevant div container, it returns as empty.
```
from bs4 import BeautifulSoup
url = "https://www.vudu.com/content/movies/details/title/835625"
response = get(url)
html_soup = BeautifulSoup(response.text... |
2018/03/20 | 341 | 1,234 | <issue_start>username_0: I need to get a component that I cliked and see its target property. I try to get it but the evt param is undefined
```
getcomponent(evt){
console.log(evt.target)
//...
}
//...
render() {
return (this.getcomponent()}>);
}
```<issue_comment>username_1: An `Observable` is... |
2018/03/20 | 870 | 3,595 | <issue_start>username_0: I have a repository with a LaTeX project that includes the .pdf compiled and generated from the .tex file. I want the history and the source files to be private but the .pdf should be public and with a fixed URL. GitHub itself provides a fixed URL for the single file but in order to make it pub... |
2018/03/20 | 749 | 2,988 | <issue_start>username_0: How do I Show columns for specific fields .
```
SHOW COLUMNS FROM core_banking_mpesa WHERE FIELD= 'id' , FIELD ='LineNo' , FIELD ='Comments'
```<issue_comment>username_1: Continuing off of Max's answer, one solution could be to maintain separate private and public repos. I like this option be... |
2018/03/20 | 500 | 2,016 | <issue_start>username_0: We have a native Android app that uses WebRTC, and we need to find out what video codecs are supported by the host device. (VP8 is always supported but H.264 is subject to the device having a compatible chipset.)
The idea is to create an offer and get the supported video codecs from the SDP. W... |
2018/03/20 | 1,237 | 3,326 | <issue_start>username_0: I have a dataframe `df` defined like so:
```
A B C D E F
0 a z l 1 qqq True
1 a z l 2 qqq True
2 a z l 3 qqq False
3 a z r 1 www True
4 a z r 2 www False
5 a z r 2 www False
6 s x 7 2 eee True
7 s x 7 3... |
2018/03/20 | 557 | 1,887 | <issue_start>username_0: I want to style a table like [this](https://gyazo.com/15cbc922ca5dd560584e2212d8adab3b), I mean I want to style a column specifying width based on the data, color based on the data as well.
```
Price of buy orders(BTC) | Amount of buy orders(<%=@currency\_id%>) | Date of buy orders |
<%if... |
2018/03/20 | 1,714 | 5,178 | <issue_start>username_0: I've been reading this article:
<https://www.red-gate.com/simple-talk/sql/database-administration/manipulating-xml-data-in-sql-server/>
I found what I need, but the only difference in my situation I need to use `FOR XML PATH(...)` **and not** `ROOT(...)` instead of `AUTO` mode.
I have a XML ... |
2018/03/20 | 1,332 | 4,751 | <issue_start>username_0: Is there a way to revert to a certain commit without changing the remote history, basically undoing all the changes from that commit in a new commit just like git revert?
For eg - I have 3 commits
commit A -> B -> C, my head is currently at C
I want to now create another commit D which will h... |
2018/03/20 | 1,485 | 4,721 | <issue_start>username_0: I'm teaching myself Shiny and I am stuck on my ggplot2 graph not being able to use the reactive dateRangeInput as my x-axis. I have a few questions:
1. Is there a way to use my data frame to grab the min, max values for date range input instead of having to hardcode them in so that when I add ... |
2018/03/20 | 281 | 1,055 | <issue_start>username_0: I have a custom annotation:
```
@Target(AnnotationTarget.FUNCTION)
@Retention(AnnotationRetention.RUNTIME)
@MustBeDocumented
annotation class Listener
```
Used like this:
```
@Service
class MyService {
@Listener
fun onNewThing(thing: Thing) {
...
}
}
```
In another servic... |
2018/03/20 | 691 | 2,821 | <issue_start>username_0: I have a very simple wpf custom control that defines two constructors:
```
public class SomeControl : System.Windows.Controls.Button
{
public SomeControl()
{
}
public SomeControl(ISomeService service)
{
}
}
```
This control is defined in a class library called *Cont... |
2018/03/20 | 2,818 | 11,460 | <issue_start>username_0: I have two ComboBoxes:
```
final ComboBox comboBoxMainCategory = new ComboBox<>();
final ComboBox comboBoxSubCategory = new ComboBox<>();
```
Depending on the value chosen in comboBoxMainCategory, the comboBoxSubCategory should be populated with the corresponding enum.
```
public ... |
2018/03/20 | 675 | 1,971 | <issue_start>username_0: I'm trying to put SQL from a pass-through query into a VBA module since the query is giving me problems. I'm encountering an issue in it, however. Here's the error message I get:
[](https://i.stack.imgur.com/43pXq.png)
Here's... |