All Questions

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

React Express Built app not working in production mode

I have a Create React App working well in development mode both with yarn start and yarn build > serve - build But when I upload my build folder to my distant server (on Planet Hoster), I get the ...
0
votes
0answers
2 views

How can I remove cuda-repo in my var safely

Recently I am working on cleaning up my Ubuntu 20.04 system. After check the disk usage, I found that I have cuda-repo-9-0* in my /var/ folder taking 1.6G. I used to have cuda 9.0 with Ubuntu 18.04. ...
0
votes
0answers
2 views

Combine multiple files into one by detecting source directories and files with the same names - PowerShell

I am new to PowerShell. Goal Combine text from nested YAML files to a master YAML file. Current setup File structure folder1/ (empty) folder2/ restapi/ toc.yml folder3/ Docs/ restapi/ toc.yml ...
0
votes
0answers
2 views

SSL error for HSTS enabled site with Self Signed certificate

I created a self signed wild card certificate (*.website.local) on our internal environment which can be accessed using an internal DNS URL (ex: https://site1.website.local). I have HSTS enabled for ...
0
votes
0answers
2 views

Flutter Web serve assetlinks.json for Android App Links verification

I am deploying a Flutter Web App on Firebase Hosting. And a Flutter App on Android. To use deep links that redirect to my Android App I need to verify the App Links serving the file assetlinks.json on ...
0
votes
0answers
2 views

Laravel Insert JSON data into MySQL table with no duplicate rows

I am using Laravel 8 with MySQL DB Here is my code to loop through JSON data and insert it into 'sessions' table in MySQL $dbInsert = json_decode($response,true); foreach ($dbInsert['data']['...
0
votes
0answers
4 views

need help understanding (node:18496) DeprecationWarning error, help please?

im new to discord.js trying to learn to make a bot but i keep getting "cannot sent empty message" heres my code, can someone help me understand this error? const Discord = require("...
0
votes
0answers
7 views

How to parse a spesific part of string that starts with a spesific str to the first space in Oracle

I have dataset like this: SELECT 1 as text_id, 'The first is A.ACCOUNT_ID and the second one is B.IDENTITY_NO and third one is plate_number.' as full_text FROM DUAL UNION SELECT 2, 'The ...
-1
votes
0answers
5 views

Why are node modules so large?

I am new to Node. I just tried installing nodemon and that resulted in a huge node modules folder with more than 100 folders. Is nodemon actually that big or am I doing something wrong. I used the ...
0
votes
0answers
3 views

Export <card> in webpage in reactjs

I want to add a download tab on the webpage so that when you click it, you can download all the (something display as phone plan) in the page in a pdf format. Is there a react library for that?photo ...
0
votes
0answers
4 views

GitHub Actions, successful workflow shows no activity in log

I'm creating a workflow that: gets an array of branches matching feature/* kicks off another workflow that attempts to merge the branches with develop using the matrix strategy a 3rd workflow waits ...
-1
votes
0answers
12 views

Promise .then doesn't get the updated data

I have the following function in angular js where i have a api call inside my promise and in the .then i have a function call. function updateStatus is not getting the updated data even though it is ...
0
votes
0answers
13 views

Passing a function method into a class in python:

I would like to create a method inside a class that gets a variable and a function as input arguments and return a new value. In below example the arbitrary function can be max, min, mean, or ...: ...
0
votes
0answers
11 views

SQL COALESCE function skipping non-null values

I am trying to fill a report page with data of various dates. Here is my simplified query: SELECT COALESCE(topics.created_at, tm.created_at, 'Unknown') AS created_at FROM topics INNER JOIN ...
0
votes
0answers
4 views

How to apply Formik with Chakra in typescript?

I am trying to use following example on Chakra but using Typescript <Formik initialValues={{ name: "Sasuke" }} onSubmit={(values, actions) => { setTimeout(() => { ...
0
votes
0answers
2 views

Configure Log4Net to enable me to debug issues with a Log4Net Splunk appender?

Can someone clue me in to how I might configure Log4net to help with more verbose debugging? Currently I have a project where I would like to use a Log4Net appender to log to Splunk. There exists a ...
0
votes
0answers
2 views

How do I prevent OWASP Csrf Guard from reading CSRF token from request URL

We are using OWASP Csrf Guard as CSRF protection for our web application layer. We do not have any case where UI is sending CSRF tokens via URL like below https://www.kibble.com/abcd?CSRF=XXXXXXXX ...
0
votes
0answers
2 views

Client using grpc-web not listening to notifications at first

I'm working on a project composed of a backend (go-gRPC) and a frontend (Typescript-Vue). Currently I'm listening on the frontend a gPRC Stream of notifications: this.streamData = this....
0
votes
0answers
2 views

How to scatter plot using ligo.skymap.plot.allsky

I want to make a scatter plot using the ligo.skymap.plot.allsky (refer https://lscsoft.docs.ligo.org/ligo.skymap/plot/allsky.html#module-ligo.skymap.plot.allsky) ax.scatter() does not seem to work. ...
-1
votes
0answers
3 views

Simple question Splitter, delimiter in vba

How does one go about making sure the user is only using semi colons to list items, if a period, colon or space is used how do i throw an error.
0
votes
0answers
2 views

Get Metadata from S3 parquet file using Pyarrow

I have a parquet file in s3 to which I will be automatically appending additional data every week. The data has timestamps at 5-minute intervals. I do not want to append any duplicate data during my ...
0
votes
0answers
3 views

Removing Unnecessary Characters from Excel Cell

Below is a listing of some cells with unnecessary text. The text to remove would be /%%, -, and empty spaces. DW80R201UB/AA DW80R201UW/AA DWT24PNA12 DV-2A/XAA DV-MCK/A1 HAFCU1/XAA HAF-CIN/EXP For ...
0
votes
0answers
5 views

Plot 3D mesh using 3D numpy array and 2D numpy array

I have a 3D numpy array Lattice[][][], and a 2D numpy array Trajectory[][]. I want the indices i/j/k of Lattice to be the coordinate axes and the value contained in the tensor element to be plotted as ...
0
votes
0answers
6 views

My default .json preferences file in brackets has changed somehow

I honestly have no idea what has happened with my Brackets application and especially this file, I literally have changed none of the original code and only added the php stuff, I made sure to add the ...
0
votes
0answers
11 views

What does this phishing script actually do?

A client received some kind of phishing scam email. It contained a link asking to download the following code in an XML file. I am curious to know, what exactly does this do? I am also terribly ...
0
votes
0answers
9 views

What does a parameter followed by a comma like in def function(parameter,) mean?

I'm trying to understand a function in python which requires a single parameter. But this parameter is followed by a comma. Ex: def api_integration(request,): ... Is that an error or does it make ...
0
votes
0answers
6 views

Gateway error when connecting Python to Teradata

Can anyone share some information regarding the issue below? I have been able to connect to Teradata via Python using Teradata and Teradatasql libraries. I cannot connect using pyodbc and sqlalchemy. ...
0
votes
0answers
15 views

C++ - Simulating a programming language interpreter

I have the following task: Write a program that implements an interpreter for a sequential programming language that consists of the following statements: VAR name: declare a variable with initial ...
0
votes
0answers
3 views

Starting a GPU instance on Google Cloud Compute

I am trying to set up a GPU instance on Google Compute Cloud like this gcloud compute instances create another-ubuntu-instance \ --maintenance-policy TERMINATE --restart-on-failure \ --image-project=...
-2
votes
0answers
7 views

neovim no puedo usar el emmet

al momento de escribit ctrl y , no se me autocompleta el emmet de neovim , alguien puede ayudarme , en ves de hacerse el emmet , se abre otra ventnaa de confinguracion al presionar esas teclas
0
votes
0answers
3 views

How to remove background from Gauge component from Ant Design Charts?

I am using <Gauge /> component from @ant-design/plots link to docs: https://charts.ant.design/en/examples/progress-plots/gauge#meter-gauge There are white strips visible between meter divisions, ...
0
votes
0answers
5 views

CSS Modules cannot be imported from within node_modules

I am using one library in my main project. The library code looks like this /node_modules/@myCompany/all_components/src/Footer/components/Navlink/index.js import React from 'react'; import styles ...
0
votes
0answers
4 views

How to set up a dev to prod workflow on snowflake (and dbt)?

We are currently implementing snowflake and dbt and want to split snowflake databases between dev and prod, so that we have a database to test on before releasing new data models. We are planning to ...
0
votes
0answers
7 views

geom_ribbon (ggplot2) - how to use

Here is my example. library(ggplot2) my_df <- data.frame(x = c(1,2,3), y = c(4,5,6), y_min = c(1,1,2), y_max = c(7,8,8)) ggplot(data = my_df)+ geom_line(aes(x = x, y = y, ...
0
votes
0answers
5 views

Is consolidating mysql migrations a good idea?

I am wondering if it is a good idea to consolidate (mysql) migrations after their number starts to grow in a project that's been around for a while. I can think of some disadvantages (like loosing the ...
0
votes
0answers
4 views

Interpolate in matlab

I have two realizations for (X,Y) (0, 200) (23, 700) I want to find the value of Y at X1=12.5 with matlab with linear interpolation Would interp1 work? but haven't figured out how to use the ...
0
votes
0answers
4 views

How can I set Sensitivity in an email that I'm sending from an Excel VBA Macro?

I need to send emails with a confidential tag. Our in-house custom tag is "Patient-Confidential". The default Outlook tag for confidential is .Sensitivity=3. How can I assign sensitivity, ...
0
votes
0answers
10 views

track boolean state of each element in array and change styles if active react

I am trying to change the active style of an element in an array. As shown in the image below - when you press on the day the styles will change to add a border around it. So far I am struggling to ...
0
votes
0answers
6 views

What's the proper way to add columns and rows to a DataTable in C# (within Ninjatrader 8)?

I'm working on a script to add a Datatable with some strategy code I'm working on within Ninjatrader 8. The program utilizes C# but doesn't have full support for the .NET framework. After adding ...
0
votes
0answers
7 views

Is there a more efficient way of looping in this array?

My code is as follows: /** * * @notice Returns a Sale array with all the sales that have not ended. * */ function getOngoingSales() public view returns(Sale[] memory) { uint256 ...
1
vote
0answers
4 views

Firebase doesnt verify otp when linking email with phone number

I noticed that firebase doesnt confirm the top I put in is right when I am linking my phone number to the account I have created with email and address.The code below is the at the point when I have ...
0
votes
0answers
4 views

What to do next after retrieving Facebook authentication token?

Framework: React Native React Native V: 0.66.2 Backend: NodeJs Facebook Lib: react-native-fbsdk-next I am developing a React Native application. There I have implemented authentication via Facebook. ...
0
votes
1answer
11 views

How do we plot a 3D numpy array or a 3D DataFrame?

I've got a 3D numpy array with elements being 0 or 1. What I need is to plot the array with the indices as the coordinates (x,y,z) and the colour of the point depending upon if the value contained in ...
0
votes
1answer
5 views

node-fetch: Unsupported URL Type "node:": node:buffer

I need to get node-fetch working for a VUE JS project but I ran into these dependencies errors: These dependencies were not found: * node:buffer in ./node_modules/node-fetch/src/index.js, ./...
0
votes
0answers
4 views

How do you configure SoapPath endpint for Web Connector in .net 5 startup.cs?

I have the following NuGet packages installed QbSync.QbXml QbSync.WebConnector QbSync.WebConnector.AspNetCore SoapCore In netcore 2.2 I configured the endpoint with the first code sample. I installed ...
0
votes
0answers
3 views

Obtain count to MI:SSSS precision?

TRANSACTION_DATE is a DATE data type. This code lists all of the event dates to the MI:SSSS. select to_char(transaction_date,'YYYY-MON-DD HH24:MI:SSSS') as trans_date from ticket_orders; Now I want to ...
-2
votes
0answers
7 views

How to retrieve messages from a slack channel using Java

I want to get the tasks that are assigned to a user in slack, without using any external apps or webhook.
0
votes
0answers
3 views

Unable to get Dataflow steps information using Java API

I am trying to get the steps & jobMetrics information of an active streaming job using the following code: val jobMetrics = dataflowClient.projects().jobs().getMetrics(projectId, jobId).execute()....
1
vote
0answers
9 views

Gradle error on new Flutter app using emulator and phone

Hello I havent used Flutter and Dart in a long time and when i tried to make a new app and run it in emulator this error popped up: FAILURE: Build failed with an exception. * What went wrong: ...
0
votes
1answer
19 views

What is the difference between Object* myObject and Object *myObject [duplicate]

I don't own a book on C++ and cant afford one, and cant seem to find a decent post (or a good google result) regarding the topic. So what is the difference? and what would best practice be for writing ...

15 30 50 per page
1
2 3 4 5
443368