All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
2 views

Using Math.min() and Math.max() to find values in a row that is in another function?

In my second function function minMax(row) I am trying to bold the maximum and minimum values which are in the same row that my first function function searchOutput() has applied its if statement to, ...
0
votes
0answers
2 views

npm run dev error (django/react/webpack/babel)

I'm following a code along of a django with react project and have run in to an error(s) that I can't get past. When I run 'npm run dev' I get the error ERROR in ./portfolio/frontend/src/index.js 1:0-...
0
votes
0answers
2 views

How to use tfp.density.Mixture with JointDistributionCoroutine

I'm trying to define a model function for MCMC. The idea is to have a mixture of two distributions controlled with a probability ratio. One of my attempts would look like this: import tensorflow as tf ...
0
votes
0answers
3 views

PHP API returns “Field is Required” even with correct inputs via CURL and POSTMAN both

I am trying to insert data using a PHP API but the API returns District id is required. I am passing the details correctly but even though I am having the same issue. What can be the problem here? API ...
0
votes
0answers
5 views

vue mpa fails to compile when adding css to <style> tags

I have an MPA app, where vue.js is used as a part of the application. I have a very simple test set up, here: relevant parts of my template .... <div id='app-basket-checkout'> <h1>...
0
votes
0answers
3 views

Springboot Updating an Attribute without returning a page or redirect?

im making my own Java version of javascripts eventhandler on change. I have this method to add all the attributes on the page load: @GetMapping("/hamtaleads") public String showLeadsPage(...
1
vote
0answers
7 views

Need help understanding VS Code programming in Java (NOOB QUESTION)

I need help understanding what is being printed out on the "terminal" and why it is being printed out. I see that in between all the random lines the code is executed and it actually shows ...
0
votes
0answers
6 views

How to edit text from JSON Parse

I have a JSON Parse that I would like to edit. console.log(price); { document.getElementById("value").innerHTML = (data[1].price); the output value for console.log(price); = "USD;...
0
votes
0answers
4 views

Stream photo decryption using Java

Can I somehow decrypt an image and display it in the app interface at the same time, while not storing the decrypted image on the disk? Input: Application interface with the ability to select the ...
0
votes
0answers
3 views

Sequelize – querying with two attributes?

I have a search box where the user can enter his query e.g. John Doe. I also have User model defined, with columns first_name and last_name. The model has also a full_name virtual column set. I want ...
0
votes
0answers
2 views

How to get User in Devise after_confirmation

I figured Devise would know current_user. Apparently not. I then figured since the confirmation token was being passed in the parameters, I could try User.find_by_confirmation_token(params[:...
0
votes
0answers
6 views

Watch changes on Singleton Class

I have a Singleton class and I want it to reflect its changes to any view. How can I call the class from a view to be able to watch changes? What is the proper way? exampleView.Swift struct ...
0
votes
0answers
6 views

R Table with descriptive statistics for specific panel-data years

I have a pdata.frame with firm-year observations around an event date t=0 (t-5 to t+5) with the original firm and years as the indices. (see below) Now, I want to have a simple table of descriptive ...
0
votes
0answers
3 views

How to authenticate a gcloud service account from within a docker container

I’m trying to create a docker container that will execute a BigQuery query. I started with the Google provided image that had gcloud already and I add my bash script that has my query. I'm passing my ...
0
votes
0answers
3 views

Use'data-confirm-modal'on rails6

【want to】 I want to introduce data-confirm-modal in rails6 and create the following modal. version ruby 2.7.1p83 Rails 6.0.3.5 【Current status】 As you can see, the default modal has come out. 【Steps ...

15 30 50 per page
1
2 3 4 5
1393052