All Questions

0
votes
0answers
2 views

Problem reading rss feed from another website

I have a site with 2 stores (English and German) and 2 integrated Wordpress blogs (Fishpig extension). I want to display the rss feed of the English and German Blogs on a Wordpress website. The ...
0
votes
0answers
2 views

Powershell variable interpolation in command line arguments

Description I'm having some trouble with passing a JSON string correctly into a command. I believe that I have recreated the problem that I'm experiencing in the test believe. The JSON string uses ...
0
votes
0answers
2 views

Trouble to display kendo grid with model with db subsets

I have a grid of model with subset collection property like this: public partial class MenuGroup { public MenuGroup() { Item = new HashSet<Item>(); } public int Id { ...
0
votes
0answers
2 views

How to decrease the “bounce” rate when a rigidbody hits another?

I have a racket and a ball, both have rigidbodies. Ball has a physics material in it, which has bounce set to 0.8. When I hit the ball with the racket, ball goes too high up. Setting bounce to 0.0 ...
0
votes
0answers
3 views

Why does my code complain about marshalled interface in VS2017 but not in VS2013 when intiation COMSecurity

In my current project we have a COMInterface that we intialize in the beginning of the Code. It worked fine in VS2010 and VS2013 and we haven't made any changes. I can compile and run the code from ...
0
votes
0answers
4 views

initialising array of vectors in constructor

I have a class named Graph. There this vertices member of the class. I have initialized vertices in the constructor. Also, There is a member array of vectors. I want the number of vectors to be equal ...
0
votes
0answers
6 views

Mysql Select With nested If and count

need help with my code please SELECT tbl.field_1, IF(tbl.field_1='Something',COUNT(IF(tbl.visit_type='Emergency',4, NULL)),COUNT(IF(tbl.visit_type='Emergency',1, NULL))) 'Emergency', COUNT(*) AS ...
0
votes
0answers
3 views

Is there a property for UserControls similar to Application.OpenForms of Forms?

I'm trying to do what's being done here but for UserControls. I want to call a method found on one of my UserControls from another form.
0
votes
0answers
4 views

Defending against XSS attack with mongoose

I am working on a project in node.js which uses mongoose to handle MongoDB. I want to defend against XSS attacks. What is the suggested way to do it? I found this: https://www.npmjs.com/package/...
0
votes
0answers
4 views

UIViewController containment notifications

I have a doubt about UIViewController containment. For simplicity, I made a sample project and defined SecondViewController class. class SecondViewController: UIViewController { override func ...
0
votes
0answers
2 views

React: react-bootstrap' does not contain an export named 'FormConrol'

import {FormGroup,FormConrol,ControlLabel,Button} from 'react-bootstrap'; i am importing this FormControl from react-bootstrap and getting below error: Error: 'react-bootstrap' does not contain an ...
0
votes
0answers
2 views

Send emails to multiple users at once in rails

We are transferring from old system to new system. What I want is admin can send invitation_email to first 200 parents by clicking on the send invite button and once the invite is sent then on ...
0
votes
0answers
10 views

how to change browser window location?

Here is a mechanism I have going but I'm pretty sure it's not canonical way to do it, but regardless I cannot understand why it wouldn't work. A form is collected at one endpoint, lets call it /login ...
0
votes
0answers
3 views

Load extensions after URL has started

I have a few extensions but there is 10-15sec delay when the driver loads up in opening the URL. Is it possible to load in the extensions after driver url has opened? URL = https://www.example.com ...
0
votes
0answers
13 views

How are values passed in generic methods?

According to Exam Ref 70-483: rogramming in C# by Wouter de Kort book 3th chapter test question 15 How are values passed in generic methods? I found answer: They are passed by reference But ...
0
votes
0answers
4 views

Navigation Menu not working for vue.js using bootstrap

I am trying to get my head around getting bootstrap with vuejs, but I could not get menu click navigate to different tab. only first tab content shows all the time. <!doctype html> <html ...
1
vote
0answers
10 views

Same string representation results in different outcome

I am currently facing an issue which is driving me nuts: The following code snippet is the wrapping part to send a request to Facebook to create a new post. This works fine for directly posted and ...
0
votes
2answers
10 views

Fill down every other row with level above in tidyverse

I'm learning R and am hitting a snag with tidry and dplyr. I've got a data frame in R where the first column is a factor that only has a level every other row. I'm trying to figure out how to use ...
-1
votes
0answers
7 views

Updating Angular 6.1.0 to latest (6.1.9)

This is a proper-way-to-do question! So I have an Angular 6 application generated via the ng-cli a moment ago: @angular/cli 6.2.1 @angular/core 6.1.0 I tried using ng update @angular/core but it ...
0
votes
0answers
4 views

How to pass a password when using HtmlAgilityPack

I am trying to read the XML files of a website, I am using HtmlAgilityPack. This is the code I am using: HtmlWeb web = new HtmlWeb( ) ; HtmlAgilityPack.HtmlDocument doc = new HtmlAgilityPack....
0
votes
0answers
4 views

Chrome extension, Download a blob file. This is not done correctly on all sites

i currently develop a chrome extension. This extension create a blob and let the user download the "file" blob. My problem is when i create the file, it's on some site it's open correctly, and other ...
0
votes
0answers
3 views

Error in set-pnplistitem when passing an array of managed metadata terms

using pnp powershell to modify sharepoint online list items, i'm trying to update an existing list item, adding an array of managed metadata terms, but the command keeps failing when I try to update ...
0
votes
0answers
7 views

sHow to visit a page in my Firefox profile using Python

I'm want to visit a lit of URLs (about 3000) so I can add them to my browser history in Firefox. I'm trying to do with Selenium but it's not working. name = "C:\Users\Default\AppData\Roaming\Mozilla\...
0
votes
0answers
3 views

Junit test case fail 400 bad request

I am using junit for unit testing in spring data jpa application. I am trying to write junit test cases for controller class unclaimedRoomAssign() . I am using mockito for creating mock object. I ...
0
votes
0answers
2 views

Wikidata SPARQL extract ranked items from alias query

FYI: I'm new to SPARQL. I want to query a string "Merkel". I want the output to be something like: ID--------instance_of-------------LABEL Q567----------Q5------------------Angela Merkel ...
0
votes
0answers
2 views

Null reference exception when setting Masterpage label text in content page visual basic asp.net

I am trying to set label text which is in my navbar. This navbar is in my masterpage and I am using Master.nameoflabel to try and set the label's text in my content page. When I try and set the text ...
0
votes
0answers
3 views

firebase transactions you must return a promise

I am trying to figure out how to write transactions to a firebase database from an angular 6 / typescript application. One working example I am using as a guide is the following: const transactions =...
0
votes
0answers
2 views

Submit a post xml request to webservice hosted on weblogic and get a response xml from client request

I am trying to send post requests to a webservice that is in weblogic. I am using soapui to make the requests, this tool structures me the object that I have to send to XML format, but when I send the ...
-3
votes
0answers
13 views

txt file into array in python [duplicate]

I'm new to python and i'm having a trouble with txt file and array. I have a text file which contains 12 numbers in one line. Loading from this txt file, I want to make 1x4 array for the first 4 ...
0
votes
1answer
4 views

ORA-25006 in a FOR UPDATE of CLOB column

I'm attempting to avoid an update with a null value in a CLOB column (for other reasons the column can not have a NOT NULL constraint). I wrote this trigger: create or replace TRIGGER "TEST_NULL" ...
0
votes
0answers
5 views

Minimize method injection parameters in SpringBoot 2

I'm relatively new to the Spring community and I have a question about reducing the number of method injection parameters. Example Config Class @Configuration public class CustomConfig { @...
0
votes
0answers
2 views

Get Buffer from archiver as Output

Trying to get Buffer as Output from archiver. archiver can use Stream only as a pipe, so I decided to use stream-buffers package: var archiver = require('archiver'); var streamBuffers = require('...
0
votes
0answers
9 views

Excel VBA NOW() pasted into cell not being recognised as date/time

Im having trouble with the NOW() function after it is pasted into a cell. To give you a brief description, I have built a Checkin window that records times of when people start end work via a user ...
0
votes
0answers
2 views

getUserMedia - image size

I want to fill the div (#myvid) with the camera stream accessed by the iPhone, which I get from getUserMedida. The image below shows the image stream on the MacBook. My CSS looks like the ...
0
votes
0answers
2 views

Excel Time Comparison and Subtraction

I am trying to do a time subtraction in excel of 30 minutes and I am running into a speed bump. So the table I have are as follows. Table "Schedule" Column 1 is day of the week (Mon-Sun) (formated ...
0
votes
1answer
6 views

no access control allow origin in angular 4

No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:4200' is therefore not allowed access. request = request.clone({ setHeaders: { ...
0
votes
0answers
5 views

Swift URLSession.shared.dataTask GET Request -1001 returns timeout

Sending a POST request to our NGINX Server works good with URLRequest and URLSession.shared.dataTask. I can login to my app but when I try a GET request my server has no log that the request reached ...
0
votes
0answers
2 views

What are the table relationships by member, task and effort time in Team Foundation Server?

I need to extract some data from TFS data base and I can't find the tables that I need. We using TFS for measure productivity (projects, user stories, tasks, etc) and I must do an productivty ...
0
votes
0answers
7 views

Await for an async queue to be proceeded ( async.js )

relatively new to JS and node I'm playing around with ASYNC.JS with a delayed Log to simulate async call It runs fine until a wrap the code into another block Here s an simple example easy to test ...
1
vote
1answer
9 views

Java Servlet doPost() returning null from Postman

I am doing a simple Java Servlet POST request without using any HTML and only using Postman. And the response from getParameter() is always null. Here is the servlet: @WebServlet("/api/form") public ...
0
votes
1answer
8 views

grep specific value to use as filename from data using awk

I have a file with data as below * sub : A 111 ------------------ * sub : B 222 ------------------- * sub : C 333 -------------------- I have to separate this data into 3 different files ...
0
votes
0answers
4 views

AIDL implementation for Protobuf genarated object

I have use case as follows, my custom object is generated from Protobuf. I would like to use these protobuf generated class as parameter for AIDL implementations. Since protobuf doesn't use ...
0
votes
0answers
5 views

Symfony php Custom exception controller not working

I'm trying to create a custom exception controller in php Symfony 4. Essentially what I want to do is to have a default route that gets called when no other routes match. I'm trying to follow the ...
-1
votes
0answers
5 views

Map backend messages to frontend ones

I am trying to understand how to implement a mapping between backend messages and frontend displayed ones. The backend is build with Java 1.8 and Spring Boot 2.0. The frontend is build with Angular 5. ...
0
votes
0answers
3 views

how can i include quantity reserved in cart for customers who shopped online and the product has not come out of stock

I tried to put quantity reserve code in my cart to indicate the product sold online but not yet delivered so it may alert the store users of the product already purchased so they wont sell it again ...
0
votes
0answers
8 views

How to add header and footer on itext pdf page

I want to add Header and page number in itext pdf page when creating multiple copy of existing pdf. Code example Document document = new Document(PageSize.A4,30,30,40,40); PdfCopy ...
0
votes
0answers
4 views

how can i get the value of an an auto incremented id as a foreign key in a different table in Laravel inside a controller

// In the table called template I get the id of staffmembers by using session . however I really don't know how I can to it for the table module . I am coding using Laravel framework. I also get this ...
0
votes
0answers
13 views

merging quarterly time series in R

How do you merge a and b xts series that are presented like this: a: 1948-01-01 1 1948-04-01 1 1948-07-01 1 1948-10-01 1 b: 1948-03-01 2 1948-06-01 2 1948-09-01 2 1948-12-01 2 Result ...
0
votes
0answers
4 views

Is it possible to boost terms query in Elasticsearch (6.x)

My query looks like this : { "query":{ "bool":{ "should":[ { "terms":{ "tags":[ "tag1","tag2" ...
0
votes
0answers
2 views

image file not found from URL in r-markdown

I used to be able to render images in r-markdown using a URL with the following code ![](https://assets-cdn.github.com/images/modules/logos_page/GitHub-Mark) but I get a file not found error ! LaTeX ...

15 30 50 per page