All Questions

0
votes
0answers
2 views

3d Object in scene but not visible (three.js)

The intended response from the code below is to load a 3d object into a scene based on buttons clicked by the user. The first time an object is selected, it is pulled from a server, stored into a ...
0
votes
0answers
2 views

How should the CSS content: “”; display?

In the css below, what is "" meant to do / display? It is displaying on my website exactly as written in the CSS below. I presume it should be displaying something else, like an arrow or dot point ...
0
votes
0answers
2 views

C++ and PEMDAS Order of Precedence/Operations?

I have a question I was not able to find an answer for, I'm looking for some clarification. From my understanding, C++ follows PEMDAS, is this correct? So if I do something like 5/9 * (34/.2) it ...
0
votes
0answers
6 views

Get binary representation of integer

I just had an interview question, where I need to get the binary representation of an integer, this is something I should know how to do.. for example, 5 is represented in binary as 101, and the steps ...
0
votes
0answers
2 views

Web email form that makes use of AWS API Gateway & Lambda

I created an email form on my website that calls an API Gateway endpoint as my HTML form action. It delivers the payload (a few lines of text generally) to the endpoint which triggers my AWS Lambda ...
0
votes
0answers
2 views

What is the recommended way to auto-deploy a CRA project to Azure, via Jenkins2

I'm used to writing .NET projects, where the deploy process looks something like "run this 1-line command, with no special credentials, to tell the .sln file to publish itself to Azure". I was kinda ...
0
votes
0answers
2 views

Embedding GOOGLE COLABS as an IFRAME

We are trying to use Google Colabs for an online programming course. We would like to pull the various files into the appropriate parts of the courseware using an iFrame. Unlike Sheets, docs, and ...
-1
votes
0answers
5 views

Run function right after asynchronous one

I want to store in chrome.storage ids. Using INSERT_OR_REMOVE("blocked",12) I am adding or removing 12 from database. The thing is that it is working asynchronous. What I want to do is to use colorize ...
0
votes
0answers
2 views

Spark: Fair Scheduler

I have my fair scheduler set up as suggested in the doc: conf.set("spark.scheduler.mode", "FAIR") val sc = new SparkContext(conf) I actually do it on the command line when launching spark-shell ...
0
votes
0answers
2 views

How to generate random integers 0 to 0x7FFFFFFF?

This doesn't work: for (int p = 0; p < 10; p++) { random_device rd; mt19937 gen(rd); uniform_real_distribution<int> dis(0, INT_MAX); printf("%i\n", dis(gen)); } Any advice ...
0
votes
0answers
2 views

Access name of current fixture and test at runtime

For usage as in test(testName, async (t) => { const ua = await getUA() await t.takeScreenshot( fixtureName + "/" + testName + "/" + identifyUserAgent(ua) + "/...
0
votes
0answers
4 views

Improve performance in LINQ To Entities query (aggregation)

I have this EF model: class Reception { public string Code { get; set; } public virtual List<Row> { get; set; } } class Row { public string Item { get; set; } public int ...
0
votes
0answers
2 views

Easy way to query firebase keys

Is there an easier way to query a firebase query because right now i always end up with so many queries tangled together it is a bit messy here is what i do now Database.database().reference().child(...
0
votes
0answers
2 views

Application using jmstemplate

Hi guys application using spring jmstemplate to send a message to remote q' but q receiving invalid xml with redeloverycounter tag how to control thease kind of poison messages from application. ...
0
votes
0answers
5 views

Target class inside a particular class with JQuery

I have a number of .job-card-wrap's, inside each of those is a class .arrow. I want to hover each .job-card-wrap and change the src of .arrow. This is what I have, however hovering on one .job-card-...
0
votes
0answers
2 views

restfb getFrom return null for others except my account

FacebookClient fClient = new DefaultFacebookClient(token); Connection<Post> posts = fClient.fetchConnection(page + "/posts", Post.class); for (List<Post> ...
0
votes
0answers
4 views

Unable to run JUnit 5 test in IntelliJ 2018.2.2 w/ Gradle 4.9

I'm attempting to run a single JUnit 5 unit test from Intelli 2018.2.2 Community Edition. The project is using Gradle v4.9. For whatever reason, when attempting to run the test method individually or ...
0
votes
0answers
3 views

How can I make one of these two switches mandatory in my angular application using template driven forms and form validation?

<div class="card-body"> <form #clientForm="ngForm" (ngSubmit)="onSubmit(clientForm)"> <div class="form-group"> <label for="calories">Calories</label> &...
-1
votes
0answers
3 views

Pop OS Linux and Windows 10 Dual Boot on UEFI Mode

I installed Windows 10 on my recently bought laptop and I wanted to install Pop OS alongside. But I couldn't and I am about to go crazy. Disc Partitions are: 100 MB EFI partition (Windows 10) 170 GB ...
0
votes
0answers
3 views

How can I pass my remote username and password directly into hg strip?

I have a repository where I want to undo all local commits on my branch since the most recent commit pulled down. I do not want to save any work. After doing some research I found the following on ...
0
votes
0answers
3 views

Angular request to google oAuth fails due to CORS policy

I've set up an angular/nodejs(express) application with google authentication but whenever I request to google oauth through angular app it throws a cors error but if I request directly from browser ...
0
votes
1answer
11 views

How to identify a sentences related to a topic?

Im doing a project that require me to sort the document to match with topic. For example, I have 4 topics which is Lecture, Tutor, Lab and Exam. I have some sentences which are: Lecture was engaging ...
0
votes
0answers
9 views

Error moving wordpress site

I`m trying to move my wordpress website from local computer to my new hosting. After compliting all guide steps I got an error: Error I understand that it might be some kind of path conflict of my old ...
0
votes
0answers
4 views

Replicating native google maps offline mapping in Google Maps API

We are developing a mobile app (built in Xamarin and deployed to iOS/Android). We use the Google Maps API to track the user’s location as they drive. In low or no connectivity conditions our app ...
0
votes
0answers
5 views

it is possible to generate custom fonts with SlateJS

I'm a newbie with SlateJS and wonder if it possible to custom font-family and font-color °ideally with a color picker°, I have made a search on the web and found nothing. Any hint would be great, ...
0
votes
0answers
7 views

How can I convert pandas string column into string series without text getting trimmed?

How can I convert pandas string column into string series without text getting trimmed? s = pd.Series('Data was not intuitive and too difficult for our marketing team to use. Big-Data has been a ...
0
votes
0answers
2 views

Segmented control not changing index

I'm coding a game, and I have a segmented control for the user to select a difficulty level. I've added some simple code inside the cases to check if the index changes, but it doesn't appear to. Here'...
1
vote
0answers
9 views

C compiler ignores 'static' for declaration of struct

In C, if I declare a structure like so: static struct thing { int number; }; and compile it (with gcc in this case), the compiler prints this warning: warning: 'static' ignored on this ...
0
votes
0answers
4 views

Automatically distribute UWP app

I'm developing an UWP application and I'm trying to set up Build/CI so that the app is automatically published and available to test-users as soon as a build passes. I've managed to deploy the app-...
0
votes
0answers
4 views

Selecting multiple options from drop down menu using selenium in python

Tried searching but did not find any working solutions for this. I have a drop down menu as follows where I'd like to select multiple options at once: <select name="Area" multiple="" size="5" ...
-1
votes
0answers
14 views

How to set the current date in python? [duplicate]

For testing purposes, I would like to set the current date in python temporarily, to see whether I get the expected output. Is that possible? I only find posts that show how to get the date, or define ...
0
votes
0answers
3 views

POST request with Content-Type application/x-www-form-urlencoded and

My requirement is very simple. Call POST request with id and password. Header has Content-Type = application/x-www-form-urlencoded and data is also passed as urlencoded like below Response is ...
0
votes
0answers
3 views

tensorflow object detection api export empty variable folder

I tried to export the saved_model for tensorflow serving by python object_detection/export_inference_graph.py \ --input_type encoded_image_string_tensor \ --pipeline_config_path ${...
0
votes
0answers
17 views

How to move first number in a double to the end without converting to string in Java

I am trying to make my number move the first character to the end. For example I would have my double d. double d = 12345.6; double result = 2345.61; Currently I am removing the first character ...
0
votes
0answers
3 views

Given a graph find any path - prolog

I'm a newbie in Prolog and I'm stuck with this exercise, can you give me some advices on how to solve it in a simple way? Given a graph, find any path from Node1 to Node2 and return a list of the ...
0
votes
0answers
6 views

Bitbucket and Database Development

I have a Windows server with MS SQL Server running on it. On the SQL Server developers have created stored procedures, views, tables, triggers. On the Windows server developers created shell scripts. ...
0
votes
0answers
7 views

Access SQL: Calculating Percent Change between two rows

I am trying to calculate the percentage change between two dates in Access. The user inputs the start date and the end date and the desired percentage change. If the result matches the criteria it ...
0
votes
0answers
6 views

Getting list of items/children from Firebase Database?

I'm running into some trouble figuring out how to get the number of items/children in my Firebase Database for my app to use as an int value. Check the image below: So as you can see above, I have ...
0
votes
0answers
6 views

React-Native buttons are not formatting correctly on Android

I'm using react-native-circular-action-menu for popout navigation buttons. On iPhone it looks as expected (note the circle buttons): But on Android it's being constrained into a box: Here is the ...
0
votes
0answers
5 views

Are there any open-source alternatives to NICE?

NICE is a web-based utility for managing employee schedules. Employees can access their schedules in it, request to trade days with other employees if they need a certain day off, and do shift bidding....
0
votes
0answers
3 views

Avoid file locks in network shared files in Windows Server 2016?

We have some network shared folders. Some users only need Read access, other users need full control to files in the folders. Everyone currently has full control permission. When someone is just ...
0
votes
0answers
3 views

WiX installer with multiple features is removing shared RegistryValue

I have a wix built installer with multiple features: Feature1 and Feature2. On first install, if both features are installed, then Feature2 is removed, it won't allow Feature1 to be properly ...
0
votes
0answers
10 views

R apply() format_date

I am a noob trying to troubleshooting an R script written by someone else. The script used to work, but now does not. It is related to apply(), which is apply(X, MARGIN, FUN, ...). That says to me ...
0
votes
0answers
3 views

How do I mount Windows Server 2016 NFS and SMB 2.0+ shares in Raspbian Linux using mount and cifs.utils?

Summary I am attempting to mount remote shares from a Windows 2016 Server with required credentials onto a Raspbian directory. SMB Protocol Mounting with mount command and cifs.utils I want to ...
0
votes
0answers
3 views

SOLR 7.2 Back up and restore

I have a SOLR 7.2 cloud with 6 nodes fronted by a DNS/F5. I have over 80 GB of indexed data in these nodes. I want to create a back-up of this index as a starting point before my indexes change ...
0
votes
0answers
4 views

Is there an equivlent of python unpacking or bash's indirect parameter expansion with Netlogo?

Background I used this answer to select a turtle based on a probability distribution determined by the turtle's popularity or fitness. Issue I am trying to pass a parameter that determines which ...
0
votes
0answers
3 views

How do I get CRA on Azure to behave correctly w.r.t. serviceWorker caching?

I'm a little surprised that I can't find this answered already, but I've looked fairly hard. Apologies if I've missed it somewhere obvious. TL;DR Question: How do I configure CRA (with SW) and the ...
0
votes
0answers
11 views

laravel raw query joining two tables and using SUM function

so i have to tables table one and table two and this is my query $result = DB::table('table_1') ->select('table_1.id', 'table_1.sys_id', 'table_1.cam_name', 'table_1....
0
votes
0answers
7 views

Scala - How to Combine EitherT with Either in For Comprehension

Suppose I have the following setting: def foo: Either[Error, A] = ??? def bar: EitherT[Future, Error, B] = ??? case class Baz(a: A, b: B) How can I use for comprehension to instantiate the class Baz?...
0
votes
0answers
4 views

How to get Dialogflow to trigger an intent with ANY input without using fulfillment

Not much to add to this question I don't think. Basically, I have a series of questions the user needs to answer, but they are veeeery open-ended, so the user input could be pretty much anything. Once ...

15 30 50 per page