date stringlengths 10 10 | nb_tokens int64 60 629k | text_size int64 234 1.02M | content stringlengths 234 1.02M |
|---|---|---|---|
2018/03/14 | 962 | 3,167 | <issue_start>username_0: When I startup my Oracle instance, is it possible to get Oracle to run some PL/SQL during the initialization?
I have tried to find something on the web but my searches have not been fruitful.
More specifically,
If I issue
```
$ sqlplus ....
startup mount;
alter database open;
```
Can I ge... |
2018/03/14 | 1,424 | 5,882 | <issue_start>username_0: **Context**
We're currently using [Microsoft.Azure.ServiceBus.EventProcessorHost](https://www.nuget.org/packages/Microsoft.Azure.ServiceBus.EventProcessorHost/) for data ingestion from an Azure Event-Hub. We run on **.NET framework**, not **.NET Core**.
This Microsoft [announcement](https://a... |
2018/03/14 | 480 | 1,613 | <issue_start>username_0: This probably has a simple solution it's just been a while since I've used vue:
I'm trying to pass data that's pulled from a list of colors into inline css to change the background color of each item, here's an example:
```
* {{ color.value }}
new Vue({
el: '#main',
data: {
colors: [
{ ... |
2018/03/14 | 508 | 1,885 | <issue_start>username_0: Let's say I have a utility script:
`utility.py`
```
def func1(input):
# do stuff to input
return stuff
def func2(input):
# do more stuff to input
return more_stuff
def main(argv):
stuff = func1(argv[1])
more_stuff = func2(argv[1])
all_stuff = stuff + more_stuff
... |
2018/03/14 | 360 | 1,161 | <issue_start>username_0: I need some help with a regex.
My problem is to extract the version number from a jar/war artefact so I can run an mvn deploy-file of my legacy to nexus
The lines are just like below
```
-DartifactId=my-jarfile-1.2.1 -Dversion= -Dpackaging=war
```
My task is to make it something like that
`... |
2018/03/14 | 536 | 2,241 | <issue_start>username_0: I have a Microsoft Master Data Services installation, SQL Server 2014. I need to provide a REST interface to allow an external system to push data into our MDS staging area. MDSS has a WCF API available out of the box but we specifically need to expose a REST service for an external system to u... |
2018/03/14 | 485 | 1,822 | <issue_start>username_0: I stumbled upon this infinite loop. I was supposed to check the user's input not to be of any type other than integer and also not to be a negative number.
Why am I getting this infinite loop and more importantly how do I impose these restrictions on the input?
```
#include
using namespace s... |
2018/03/14 | 341 | 1,186 | <issue_start>username_0: So after running this code
```
'use strict';
var myNewArray = Array(...[,,]);
console.log(myNewArray);
```
I get this
```
[undefined, undefined]
```
Can anyone explain me why I get only 2 undefined?<issue_comment>username_1: You have provided `undefined` values in the array `[,,]`.
The ... |
2018/03/14 | 712 | 2,448 | <issue_start>username_0: I have an XML file, let's call it Project.params with the following content
```
xml version="1.0"?
{8ff4ab3f-e607-4ccc-adc0-bececa310d17}
0
0
0
ZP
18
```
I need to update the "MyPassword" property with a string that has an ampersand. I tried the following code
```
$sourcePath = "C:... |
2018/03/14 | 872 | 2,603 | <issue_start>username_0: I was "playing" around with async calls on javascript and I am trying to make the next example work, but can't:
```
// calls function f on next event loop
function callAsync(f, ...args) {
setTimeout(() => f(...args), 0);
}
var f = (a, b, cb) => cb(null, a + b);
f2 = () => {
a = 2;
... |
2018/03/14 | 1,601 | 4,921 | <issue_start>username_0: Can't figure out how to filter nested association belongs to while search in rails admin.
I have the following code in my rails\_admin config in model.
```
class Painting < ApplicationRecord
...
rails_admin do
configure :translations, :globalize_tabs
create do
field :author do
... |
2018/03/14 | 688 | 2,133 | <issue_start>username_0: So I just opened a fresh project in angular CLI and I wanted to install Material with:
>
> npm install --save @angular/material @angular/cdk
>
>
>
But it gave me the following errors:
```
C:\Users\TijlD\Desktop\projects\untitled46>npm install --save @angular/material @angular/cdk
npm WA... |
2018/03/14 | 269 | 1,187 | <issue_start>username_0: I am using Alibaba-cloud. Using its Object Storage Service Image processing, I need to generate square thumbnails of images. But those thumbnails must be resized in a way that it fits the square perfectly. **They shouldn't lose its aspect ratio** and the extra portions must get cropped. The thu... |
2018/03/14 | 479 | 1,548 | <issue_start>username_0: I have below data
```
empid date amount
1 12-FEB-2017 10
1 12-FEB-2017 10
1 13-FEB-2017 10
1 14-FEB-2017 10
```
I need a query to return the total amount for a given id and date i.e, below result set
```
empid date amount
1 12-FEB-2017 20
1 13-FE... |
2018/03/14 | 827 | 2,827 | <issue_start>username_0: Ive looked all over the official Dart site. They go into great depth about 'dev' channels and 'stable' channels but no clue whatsover about how to actually install a version of the SDK. There is no information about the current stable and dev versions either.
Clearly I have missed something hi... |
2018/03/14 | 1,704 | 5,522 | <issue_start>username_0: I was editing some batch files that use doff.exe to set a date variable, then search through the subfolders of a folder named for the date to find a particular file, copy it, rename it, then process it. All of a sudden, without changing the way it was written, the for /r loop is adding a period... |
2018/03/14 | 1,121 | 3,869 | <issue_start>username_0: The following code doesn't work for me although a similar one works (<http://85.255.14.137>). The CHANGE\_ME text should get replaced by a a value on each change of the input field. How can I correct that?
```html
$(document).on('change', '.input', (function(){
var par = $(this);
var val... |
2018/03/14 | 1,688 | 6,311 | <issue_start>username_0: In my Javascript client, I'm using Fetch API to call the server to retrieve a server-generated file. I'm using the following client-side code:
```
var _url = "";
var initParms = {
method: "GET",
mode: 'cors'
}
fetch(_url, initParms)
.then(response => {
if(response.ok){
al... |
2018/03/14 | 491 | 1,425 | <issue_start>username_0: ```
def pascalstriangle(n):
list = [1]
for i in range(n):
print(list)
newlist = []
newlist.append(list[0])
for i in range(len(list) - 1):
newlist.append(list[i] + list[i + 1])
newlist.append(list[-1])
list = newlist
print(pasca... |
2018/03/14 | 2,090 | 7,671 | <issue_start>username_0: Why I get this error I try to clean and rebuild application and make
application release true and I get same error
>
> Error:Execution failed for task ':app:lintVitalRelease'.
> java.lang.IllegalStateException: Expected BEGIN\_ARRAY but was STRING at line 1 column 1 path $
>
>
>
```
... |
2018/03/14 | 1,602 | 5,409 | <issue_start>username_0: I am trying to develop some JS that will allow a form to change the value of a submitted radio button based on the users age. Essentially, if the user is 13yo or younger AND selected radio1 value of '100', it should change the '100' to a blank.
Below is the code. No matter what i do, it seems ... |
2018/03/14 | 1,280 | 4,316 | <issue_start>username_0: Please tell where to specify the upload\_preset and also help with the image uploading part.
```
let options : FileUploadOptions = {
params:{'upload_preset':'preset1'},
}
const fileTransfer: FileTransferObject = this.transfer.create();
fileTransfer.upload('assets/demo.jpg',
'https://api.... |
2018/03/14 | 777 | 2,718 | <issue_start>username_0: I have HashMap where key is bird specie and value is number of perceptions. Here is my code:
```
public class Program {
public static void main(String[] args) {
HashMap species = new HashMap<>();
Scanner reader = new Scanner(System.in);
species.put("hawk (buteo jamaicensis)", 2);
spe... |
2018/03/14 | 988 | 3,076 | <issue_start>username_0: I want to output a sentence. When the sentence appears all individual letters should appear by rotating and getting larger.
My approach was the following:
What I did was to split up the sentence and put every letter in an individual `span` element. Then I transition the letters by using the cc... |
2018/03/14 | 335 | 1,259 | <issue_start>username_0: When Creating a new empty partitioned table schema in Big Query Web GUI, you can SET the **Require Partition filter** Option.
How can I set the same option when creating a table using bq command-line tool. Right now my command is:
```
bq mk --table --time_partitioning_field event_time my_da... |
2018/03/14 | 790 | 2,589 | <issue_start>username_0: I have 3 tables: Users, Community & Posts.
I want to retrieve posts of users that Joe dont follow `(id_user=1)`
**Users**
```
id_user | name
1 Joe
2 Doe
3 Moe
4 Roe
5 Clin
```
**Community**
```
id_follower | id_... |
2018/03/14 | 898 | 3,208 | <issue_start>username_0: So, I keep getting this non-passive event listener violation for my on change event. It only started this nonsense recently. After I moved the .js file into it's own folder, this function stopped working completely. The function will not even be executed, i just get the warning instead. Every f... |
2018/03/14 | 473 | 1,685 | <issue_start>username_0: I have the following code. It is a hash function that turns a word into a hashed number:
```
def myHash (string):
solution = 5
alphabet = 'abcdegjkmnoprstuvwyz'
for carac in string:
solution = solution * 21 + alphabet.find(carac)
return solution
test = 'mytest'
print ... |
2018/03/14 | 1,306 | 5,140 | <issue_start>username_0: I want to be able use the result of a target created in a rule in the prerequisite of another rule in GNU make. So for example:
```
PREREQ = $(shell echo "reading target1" >&2; cat target1)
target1:
echo "prereq" > $@
target2: target1 $(PREREQ)
echo foo > $@
```
`target2` s... |
2018/03/14 | 1,815 | 6,468 | <issue_start>username_0: I am trying to understand c++'s `const` semantics more in depth but I can't fully understand what really the constness guarantee worth is.
As I see it, the constness guarantees that there will be no mutation, but consider the following (contrived) example:
```
#include
#include
#include
cl... |
2018/03/14 | 1,597 | 5,775 | <issue_start>username_0: Currently I am working on an animation for a website which involves two elements having their position changed over a period of time and usually reset to their initial position. Only one element will be visible at a time and everything ought to run as smoothly as possible.
Before you ask, a CS... |
2018/03/14 | 762 | 2,754 | <issue_start>username_0: Im not sure how to compare the characters char < Char and add the count
it should print
Enter a line:
antidisestablishmentarianism\(whatever the user wants to input)
Your Answer 15
```
import java.util.Scanner;
public class CountRisingPairs {
public static void main(String[] args) {
... |
2018/03/14 | 349 | 1,227 | <issue_start>username_0: I'm loading a json file and need the fields to have the same name
```
export interface People{
name: string
age: number
alive?: boolean
}
```
json comes like this
```
{
{
"name": "teste1"
"age": 41
"alive?": true
}
}
```
load the json
```
@Injectable()
export class Peoples{
constr... |
2018/03/14 | 966 | 2,872 | <issue_start>username_0: Let's say a table A:
```
Year product rating
07/02/2018 A good
07/02/2017 B good
07/02/2016 A bad
07/02/2015 C medium
07/02/2016 C bad
```
In a first phase, I wish to obtain the following table:
```
product year ... |
2018/03/14 | 1,722 | 7,004 | <issue_start>username_0: I am writing GUI applicaton in Qt. Currently I waste too much time on routine. It seems something wrong with my architecture. Please tell me how can I change my approach to improve code.
What I am doing:
My program can be decomposed as hierarchy of classes (not inheritance but composition). I... |
2018/03/14 | 581 | 2,130 | <issue_start>username_0: Using Spark 2.2.0 on OS X High Sierra. I'm running a Spark Streaming application to read a local file:
```
val lines = ssc.textFileStream("file:///Users/userName/Documents/Notes/MoreNotes/sampleFile")
lines.print()
```
This gives me
```
org.apache.spark.streaming.dstream.FileInputDStrea... |
2018/03/14 | 899 | 3,165 | <issue_start>username_0: I'm running Cordova app in the browser and I want to get some data with Fetch API from server running on another port (Express). I allowed CORS on it:
```
app.options('*', (req, res) => {
res.header('Access-Control-Allow-Origin', '*');
res.header('Access-Control-Allow-Credentials', tru... |
2018/03/14 | 1,327 | 4,496 | <issue_start>username_0: I install nginx with WAF (Using Docker)
```
mkdir -p /usr/src \
&& cd /usr/src/ \
&& git clone --depth 1 -b v3/master --single-branch https://github.com/SpiderLabs/ModSecurity \
&& cd ModSecurity \
&& git submodule init \
&& git submodule update \
&& ./build.sh \
... |
2018/03/14 | 905 | 2,950 | <issue_start>username_0: I've recently adopted the use of linked lists in Fortran and after some reading decided to use the [gen\_ll.f90 package](http://fortran.com/gen_ll.f90) from the [Fortran Wiki](http://fortranwiki.org/fortran/show/Linked+list) which seemed simple and sufficient to my needs.
It was only later tha... |
2018/03/14 | 1,377 | 4,652 | <issue_start>username_0: I have a room model which has a many to one relation with a venue.
A venue can have many rooms.
I am trying to set up my http methods in my rest framework so that way when I add permissions things work well.
So if say someone wants to delete a room from a venue, I must make sure that
1 th... |
2018/03/14 | 842 | 2,809 | <issue_start>username_0: In models.py I have following models:
```
class Project(models.Model):
project_name = models.CharField(max_length=255, unique=True, blank=False)
def __str__(self):
return str(self.project_name)
class Profile(models.Model):
user = models.OneToOneField(User, on_delete=models... |
2018/03/14 | 1,275 | 4,140 | <issue_start>username_0: I am cleaning up a table that contains all sorts of weird naming conventions. One of the names I keep seeing is a string of dates. Some of these names contain numbers which are okay but I would like to remove date formats from the strings.
Edit - Dates are either in mm/YY or mm/YYYY format. Th... |
2018/03/14 | 1,150 | 3,967 | <issue_start>username_0: So I'm trying to make my bot's streaming to be with depression but I've tried multiple things and they don't work.
I've tried these methods:
```
client.user.setPresence({ game: { name: 'with depression' }, status: 'online' });
bot.user.setGame('with depression', 'https://www.twitch.tv/monst... |
2018/03/14 | 2,381 | 9,532 | <issue_start>username_0: I have a project with 4 classes: 2 activities, 1 adapter and 1 class for simple object. Names of the classes are: **MainActivity**, **AddingItemsActivity**, **ItemAdapter**, **SimpleItem**. In a layout corresponding to the **MainActivity**, there is a list view named **SimpleListView**. **Simpl... |
2018/03/14 | 1,209 | 4,333 | <issue_start>username_0: Basically I am building my project in random locations and the project folder and nothing is working so I was wondering if it was something else. I am getting these errors:
```
Error 1: Error building Player: DirectoryNotFoundException: Directory '/Shaders/Water' not found.
Error 2: Build com... |
2018/03/14 | 585 | 2,096 | <issue_start>username_0: I have two checkboxes, form controls, if I select one, the other one is deselected. I cannot use ActiveX controls because there are many other checkboxes from other sheets are form controls. I cannot use option button because I need to get "true" "false" value.
I used this code below:
```
Pri... |
2018/03/14 | 1,728 | 3,824 | <issue_start>username_0: Let us say I divide the x-axis as follows:
```
def linear_delta(x):
return 10*(-2.39916666666673e-06*x+0.014588678333333336)
current = 26.0
my_array = [current]
while current < 50.1:
current+=linear_delta(current)
my_array.append(current)
```
With linear\_delta being a linear fu... |
2018/03/14 | 1,096 | 4,445 | <issue_start>username_0: I'm building an Node application which will query simple and more complex (multiple joins) queries. I'm looking for suggestions on how I should manage the mySQL connections.
I have the following elements:
* server.js : Express
* router1.js (fictive name) : Express Router middleware
* router... |
2018/03/14 | 3,520 | 8,500 | <issue_start>username_0: With the base64-encoded string `JVBERi0xLjENCiXi48/TDQoxIDAgb2JqDQo8PCAN` I am getting difference results from emacs than from the clojure code below.
Can anyone explain to me why?
The `elisp` below gives the correct output, giving me ultimately a valid pdf document (when i past the entire st... |
2018/03/14 | 395 | 1,516 | <issue_start>username_0: I'm using Magento 2.2, and I'm wondering, how would I remove the header and footer ONLY from the home page? I use various stores, so the home page just acts as a portal to each store.
I explicitly **only** want to remove the header and footer from the home page. They should appear on all other... |
2018/03/14 | 548 | 1,646 | <issue_start>username_0: I keep getting a
>
> ninja: error: '/root/code/CalcLib/libCalcLibAndroidx86.a', needed by
> '/root/code/compcorpsdk/build/intermediates/cmake/prod/release/obj/x86/libJumboFFT.so',
> missing and no known rule to make it
>
>
>
Although I checked both directories with the correct files exist... |
2018/03/14 | 496 | 1,781 | <issue_start>username_0: Can someone please explain why this doesnt work in Python and how can I make it work? I dont wanna do sa=0 or something first because this code is placed inside a function and I dont want sa to start with 0 each time the function executes.
```
def tr(ok):
s = 1
sa = sa + (ok / s)... |
2018/03/14 | 841 | 2,748 | <issue_start>username_0: I am trying to use `matplotlib` and `mpld3` to produce some html plots on my `Django` report app.
Basically I have a controller for the plot that is the following:
```
from django.shortcuts import render
import mpld3
from matplotlib.pyplot import figure, title, bar
def cpfLogin(request): ... |
2018/03/14 | 1,698 | 7,297 | <issue_start>username_0: Just like the example [here](https://developer.android.com/studio/build/build-variants.html#build-types) I am extending my build types to add staging:
```
android {
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-and... |
2018/03/14 | 7,411 | 28,526 | <issue_start>username_0: How can you delete a Document with all it's collections and nested subcollections? (inside the functions environment)
In the RTDB you can `ref.child('../someNode).setValue(null)` and that completes the desired behavior.
I can think of two ways you could achieve the desired delete behavior, bo... |
2018/03/14 | 340 | 1,236 | <issue_start>username_0: I am translating a very large CTE Teradata query and got stuck at this following portion that is its own subquery, which is being cross joined into a much large subquery.
How can I translate this query into Bigquery?
```
(select row_number() over (order by tablename) subsequent_month from dbc... |
2018/03/14 | 442 | 1,672 | <issue_start>username_0: I have a requirement that states I print out a list of users to the screen. These users are all hyperlinks. When I click on one, I don't know how to determine which one got clicked and my request has nothing in it.
Here is the particular link in the jsp:
```
[NAME](/sponsor/manageuser.htm) |... |
2018/03/14 | 1,198 | 4,068 | <issue_start>username_0: I need to replace 3 heap allocations for 3 instances of std::vector, with
only one contiguous heap allocation and then share it between those 3 vectors. These vector sizes are not going to be changed, so I don't need to be worried about allocation of new contiguous storage in case of pushing o... |
2018/03/14 | 646 | 1,866 | <issue_start>username_0: I have a react application I created with `create-react-app` and I have added storybook to it. When I run `yarn run storybook` it does not reload when I change files.
My application is laid out like
```
src
->components
--->aComponent.js
->stories
--->index.js
->index.js
```
Here is my pack... |
2018/03/14 | 386 | 1,225 | <issue_start>username_0: I am using the following Javscript to change table data element ID on mouse over so that I can apply different CSS on the mouse action. It is working fine, but only on the first row of my table. Does anyone know how I can amend the script so that it is applied to each individual row in my table... |
2018/03/14 | 396 | 1,450 | <issue_start>username_0: When Webpack attempts to fetch the update JSON file, it fails with the console error message:
```
[HMR] Update failed: Error: Manifest request to https://subdomain.localhost23dae8e1865781c26fcd.hot-update.json timed out.
```
Note the omission of a slash between the TLD and the path…
**Devse... |
2018/03/14 | 761 | 2,509 | <issue_start>username_0: I'm having trouble finding the error in my code. I'm working with the class ColHe which is a collection of objects of type Header, and the main goal is to read a file's header and obtain a list with it's elements.
This is my Header class:
```
class Header:
def __init__(self, col):
... |
2018/03/14 | 719 | 2,712 | <issue_start>username_0: I'm using Sublime Text 3.0. When I double click on a line to highlight and copy the contents of a line, it is also copying the first space in the next line as well. I included a screenshot of it. In the screenshot I wanted to copy the second line, but it automatically is taking the first space ... |
2018/03/14 | 240 | 973 | <issue_start>username_0: The link to the page in question is: <https://rescueform.org>
The overflow for the main content area is set to scroll, and is scrolling properly, however the vertical scroll bar is not visible in Google Chrome. The scroll bar does display properly in IE, Firefox, etc.
Also, I'm new to the si... |
2018/03/14 | 846 | 2,015 | <issue_start>username_0: I am trying to write the current date to a file.
I want to write it to the 2nd row 2nd column (columns are seperated by ';')
**Using Shell**
What I tried so far, Not Working:
```
paste <(echo "$(date)") <(awk -F ";" '{print $2}' file)
```
Is there any smart way to do so?
example 'file':
... |
2018/03/14 | 1,219 | 3,285 | <issue_start>username_0: I am trying to prepare two input files based on information in a third file. File 1 is for sample1 and File 2 is for sample2. Both these files have lines with tab delimited columns. The first column contains unique identifier and the second column contains information.
File 1
```
>ENT01 xxxx... |
2018/03/14 | 914 | 2,503 | <issue_start>username_0: I have in Javascript my array and ajax call:
```
righe = [];
righe.push({
ragione_sociale: $('#ragione_sociale').val(),
via: $('#via').val(),
cap: $('#cap').val(),
localita: $('#localita').val(),
provincia: $('#provincia')... |
2018/03/14 | 527 | 1,664 | <issue_start>username_0: Running this:
```
$WMI = Get-WMIObject -Class Win32_DiskDrive
ForEach ($Drive in $WMI){
$Drive.DeviceID + ": " + $Drive.Status
}
```
Returns results like:
```
\\.\PHYSICALDRIVE1: OK
\\.\PHYSICALDRIVE0: OK
\\.\PHYSICALDRIVE2: OK
\\.\PHYSICALDRIVE3: OK
```
Is there an easy way to restr... |
2018/03/14 | 2,438 | 9,520 | <issue_start>username_0: How can I remove elements from a `List` property of every object in a collection and return the same collection?
```
class Student {
String name;
List friends;
// TODO constructor, getters and setters
}
Student chris = new Student("chris",
new ArrayList<>(Arrays.asList("sean"... |
2018/03/14 | 467 | 1,595 | <issue_start>username_0: I cant link my style in Symfony.
My CSS file is in assets dir
* yes i have allready downloaded asset from symfony
* yes i have tried change directories<issue_comment>username_1: Your assets must be in the Asset folder before compiling them. The compiled version should be in the web folder (SF... |
2018/03/14 | 1,166 | 4,241 | <issue_start>username_0: I am currently struggling with my implementation of an enum type.
I'd like to have an enum "Day" with the specific types "Monday", "Tuesday", ... "Sunday".
Now I want to have an object "task" on each of the days and be able to have several "Mondays" or several "Sundays" containing different ... |
2018/03/14 | 1,814 | 6,244 | <issue_start>username_0: I'm attempting to write an avro file from python, for the most part following the [official tutorial](https://avro.apache.org/docs/1.8.2/gettingstartedpython.html).
I have what appears to be a valid schema:
```
{"namespace": "example.avro",
"type": "record",
"name": "Stock",
"fields": [
... |
2018/03/14 | 825 | 3,200 | <issue_start>username_0: I'm a total noob an only started learning JS several days ago. I'm somewhat familiar with html and css though. I created this code as an exercise. It tells wheter the number put in the form is positive, negative or 0. I also wanted it to list all the numbers used. However, I don't want the app ... |
2018/03/14 | 414 | 1,654 | <issue_start>username_0: I just have a fairly simple question about using MPI in a C++ program. Indeed, let's take this example:
```
#include
#include
#include
#include
using namespace std;
#include
void multiply(double\* x,double\* y,int tai,double dot){
for(int i=0; i
```
Then, I call my function "multiply... |
2018/03/14 | 458 | 2,012 | <issue_start>username_0: I'm trying to setup a simple project with Spring security to enable Username / pwd login.
After pointing some breakpoint in the UsernamePasswordAuthenticationFilter I noticed that getAuthenticationManager has 0 providers
```
this.getAuthenticationManager()
```
However I did add this in the ... |
2018/03/14 | 567 | 2,436 | <issue_start>username_0: I'm trying to get the notification count from the Notifications child. There's another child which has a random key (which I don't know), and within that has a `userKey` value.
I'm wanting to use `orderByChild("userKey")` and get all of the notifications, but not sure how to do this. I've trie... |
2018/03/14 | 4,387 | 13,894 | <issue_start>username_0: I've been working with the Tensorflow Object Detection API - In my case, I'm attempting to detect vehicles in still images using the kitti-trained model (faster\_rcnn\_resnet101\_kitti\_2018\_01\_28) from the model zoo and I am using code modified from the object\_detection\_tutorial jupyter no... |
2018/03/14 | 608 | 1,615 | <issue_start>username_0: I'm trying to set up an iframe and want to only show a certain part of a page with no scroll but I'm having trouble getting the width height and margins right.
Webpage I want to show a certain part of:
<https://stellarchain.io/address/GB3O3S72Y2D25EK2BSA7VBJB5BXIAIKJZF4WIMEIQSB53TEIOIADT76L>
... |
2018/03/14 | 1,435 | 5,637 | <issue_start>username_0: I'm new to Protractor and am trying to write test cases for a very simple scenario: Going to a login page and submitting the form, redirecting to the dashboard page, and then clicking a search button on the dashboard. The logging in part is working fine:
pages/login.js:
```
'use strict';
var... |
2018/03/14 | 582 | 1,808 | <issue_start>username_0: According to the R-Studio blog, R-Studio 1.1+ now supports [ligatures](https://blog.rstudio.com/2017/09/13/rstudio-v1.1---the-little-things/).
I installed R-Studio version 1.1.442 on Windows.
According to the [R-Studio blog](https://blog.rstudio.com/2017/09/13/rstudio-v1.1---the-little-things... |
2018/03/14 | 749 | 3,404 | <issue_start>username_0: I'm currently learning the fundamentals of Algorithms and Data Structures and I am slightly confused about the concepts and the differences between arrays, linked-lists and stacks.
Please correct me if I am wrong: Is stack more like an abstract concept, and arrays and linked-lists are data str... |
2018/03/14 | 679 | 2,017 | <issue_start>username_0: I have the following xml. I need to extract the IP address, protocol and port into a CSV file with the corresponding column names.
```
```
I'm able to grep IP address or the port using grep or sed like this `grep -Eo "([0-9]{1,3}[\.]){3}[0-9]{1,3}"` But I need it as columns in CSV file.
IP... |
2018/03/14 | 1,387 | 6,160 | <issue_start>username_0: I am writing a Topic Modeling program using Apache Tika to extract the text contents from other file type. Actually It run perfectly on Eclipse. But when I export to JAR file to use from command prompt of the Window 10. This error message appear when it try the code: "parser.parse(stream, handl... |
2018/03/14 | 679 | 2,703 | <issue_start>username_0: The only way I know of being able to use my directive is by exporting it in the module.
```
@NgModule({
imports: [
CommonModule
],
declarations: [BreadcrumbsComponent, IsRightDirective],
exports: [BreadcrumbsComponent, IsRightDirective]
})
export class BreadcrumbsModule { }
```
M... |
2018/03/14 | 660 | 2,609 | <issue_start>username_0: I want to know, if it's possible to save the output of this code into a dictionary (maybe it's also the wrong data-type). I'm not expirienced in coding yet, so I can't think of a way it could work.
I want to create a dicitionary that has the lines of the txt.-file in it alongside the value of t... |
2018/03/14 | 822 | 1,855 | <issue_start>username_0: In R, I have a vector containing characters:
```
v <- c("X412A-Y423A", "X400A-Y405B", "X499A-Y448B", "X455A-Y213A")
```
I want to create a vector based on this one, depending on the last character in each string (A or B), the new vector will have a different value (red or blue) such as:
```... |
2018/03/14 | 1,561 | 6,342 | <issue_start>username_0: Currently getting to grips with JS and React. I want to map the value from the selected option to `this.state.transcode_profile`. I have tried the same method as I am using on the `input` tags unfortunately this is not working.
Here's the code, what am I doing wrong?
```
import React, { Compo... |
2018/03/14 | 370 | 1,177 | <issue_start>username_0: Trying to document some Kotlin code with a pretty routine structure:
1. A numbered list.
* With a bulleted sublist.
2. Where the numbers continue correctly at the top level of the list.
What I take to be the [official Dokka page](https://kotlinlang.org/docs/reference/kotlin-doc.html) doesn't... |
2018/03/14 | 1,911 | 6,915 | <issue_start>username_0: I am having two different config maps **test-configmap** and **common-config**. I tried to mount them at the same location, but one config map overwrote the other. Then I read about `subPath` and did not work.
deploy.yaml
```
apiVersion: apps/v1beta1 # for versions before 1.8.0 use apps/v1bet... |
2018/03/14 | 2,042 | 7,480 | <issue_start>username_0: I am trying to format a cell to have multiple font colors using a function in Google Apps Script. I am unable to find any documentation on it. Also, using `getFontColor()` doesn't return anything useful.
Is there any way to programmatically reproduce this functionality
[![enter image descript... |
2018/03/14 | 1,000 | 4,152 | <issue_start>username_0: So I'm making a java program that will ask the user "how are you" and if the criteria in the if and if else statements isn't met then it should loop but i'm not sure how to implement the loop to make it so when the user doesn't input anything that is in both of the if statements it should repea... |
2018/03/14 | 850 | 3,192 | <issue_start>username_0: I am trying to find the presence of a string pattern like '/\*' in a string using python .
I tried a code snippet like the following :
```
strk = "*\"
if strk in num
print ("here it is")
```
But at the first line Ii got an error stating :
syntax error : "EOL while scanning string litera... |
2018/03/14 | 175 | 742 | <issue_start>username_0: I'm working on 2 computers, sometimes I commit changes and switch to other branches and therefore forget these local commits, is there a way in Intellij to allow me to view all unpushed commits, so I can check changes in different branches.<issue_comment>username_1: You can go to the **Version ... |
2018/03/14 | 919 | 3,301 | <issue_start>username_0: I am currently working with an application using an Azure hosted SQL server instance. The application data doesn't take up a ton of physical space, however there are a lot of records. There are times where I need to delete a large amount of records, for example lets say 5 million records. As yo... |
2018/03/14 | 271 | 982 | <issue_start>username_0: If I do:
```
readInData();
script - external.js
```
readInData() doesn't get called and I get an uncaught reference error. (the external.js functions aren't contained within a self-invoking function). but if I put readInData in a firebase call (below) then it executes.
```
db.collecti... |
2018/03/14 | 4,144 | 11,241 | <issue_start>username_0: I think the Firebase Admin SDK is missing a very important function (or maybe its documentation).
TL; DR : How can you refresh custom token with the Admin SDK?
The documentation (<https://firebase.google.com/docs/auth/admin/manage-sessions>) says:
>
> Firebase Authentication sessions are l... |
2018/03/14 | 556 | 1,917 | <issue_start>username_0: I am having trouble uploading an image to firebase storage. I need to have an input object in the HTML with a type of file. Then I need the image selected for that input to be uploaded to the firebase storage for my project. Is there also a way to store the location of that image in the real-ti... |
2018/03/14 | 262 | 1,073 | <issue_start>username_0: This is super hard to Google for because it removes the ".". I'm new to Java and setting up a Java app in Heroku. There is a file `system.properties` that lets us specify the Java version we want to use.
The contents are like:
```
java.runtime.version=1.8
```
I'm just wondering, who created... |
2018/03/14 | 328 | 1,355 | <issue_start>username_0: I want to toggle between two images when the user hovers on a div. Is there a way to do it?
Can I use a boolean flag that is updated every time I hover the div and then use this flag to toggle images? Can someone let me know if that's the right way to do it?
Here's the code:
```js
$(docume... |
2018/03/14 | 1,099 | 3,434 | <issue_start>username_0: I have a properties file, in which one of the property looks like this
```
tls.default.cipherSuites = TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,\
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,\
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,\
... |