Latest Questions

react I want to change the order

When the button is pressed, I want it to swipe in the following order: yellow, red, blue, green.

Delete Rows a day after the date has passed

I am still fairly new at script writing and am trying a write a script that deletes a row one day after the date which is in column L. The data is in range A133

Work around Keras TypeError limitation when calling layer "tf.keras.backend.rnn_1"

I am trying to use Keras for an attention mechanism in a machine translation using an LSTM network. However, I get a TypeError exception when in my code. TypeEr

Flask + sqlite + html

I need to make that when I click register on the site, the data is added as a new line in the database. But when the button is clicked, the site is simply updat

Which version of Java do I need for this

I'm trying to use R and the R package rjdbc to connect to an Oracle database. Unfortunately, due to my company's strict IT department, every step of the proces

Getting "Failed to establish a new connection: [Errno -3] Temporary failure in name resolution" in Uvicorn server in Docker environment

I am getting the below exception while making a call from my project- My code is deployed on Docker and inside it running python uvicorn server. I have double c

Pusher Cannot read properties of undefined (reading 'push')

I want to update the list of users with pusher. When I submit the console shows this error: enter image description here I also get Uncaught refering to pusher.

undefiined useContext destructure

i am trying save user object in context but i am gettin g undefined this is my context: import { createContext } from "react"; export const UserContext = creat

getting this error Error: Must request at least one colour from a hue palette

enter image description hereIm trying to stack the above given formula to use on my code, but i keep getting this error Error: Must request at least one colour

Spark - Update a nested column to string

|-- x: array (nullable = true) | |-- element: struct (containsNull = true) | | |-- y: struct (nullable = true) | | |-- z: struct (nullable =

Call to undefined method Illuminate\Database\Eloquent\Builder::links() error when attempting to paginate

I'm trying to create a simple filter system with a search box, service, category and a way to sort the items in my laravel controller. However, I am getting an

Error while creating a model for binary classification for text classification

code: model = create_model() model.compile(optimize=tf.keras.optimizers.Adam(learning_rate=2e-5), loss=tf.keras.losses.BinaryCrossentropy(),

gatsby build failing on netlify with throw new ERR_REQUIRE_ESM(filename, parentPath, packageJsonPath);

This error did not happen on my build from several months ago, I was on node v14.4.0 which was using npm v6.14.5. 6:09:13 PM: $ gatsby build 6:09:13 PM: interna

How to include Auth in Syncfusion PDF Viewer ServiceUrl Api Call in a Blazor WASM app

I am trying to use Syncfusion PDF Viewer in a Blazor WASM app with authentication, and am getting the following error: Microsoft.AspNetCore.Components.WebAssem

React MUI Autocomplete "options.filter" is not a function

I wish to create a autocomplete search bar with my own custom call to the backend, which searches through a list of tickers. <Autocomplete mu

Plotly (R): Make a surface plane in a plotly 3d scatter plot

I have made a 3d scatter plot using plotly and on that plot I would also like to have a 3d surface plane at manual positions and geometries. I don't want to mak

Is it possible to connect to serverless sql pool via azure databricks?

I'm trying to connect to synapse serverless pool via databricks. I need to create synapse views and external tables directly in databricks as part of an existin

Can I schedule a single background task to run at sometime in the future on iOS

I need to queue a background task on iOS to run specifically 1 minute later, and to run only once. All I have found so far in the docs is running a periodic tas

Issue converting object to int in Python for OLS regression

I'm trying to run a multiple linear regression in Python. One of my columns "member_total" is an object and I can't figure out how to convert it into an int. Ri

Azure App Service with AAD identity provider - Python & Streamlit framework for app - get logged in user

Have a web app developed in Python with the Streamlit framework. Deploying as an Azure app service. Authentication to the app is via AAD. I'm unable to get deta

"mes":"Value cannot be null. (Parameter 'source')" when want to show value which is true in view with checkbox

Hi I have 3 tables: Role , Permission , RolePermission In my Razor page view I want to show each permission that is true for a special role with marking the che

Assigning /32 ip addr to containers with docker compose Ubuntu 20.04

as you might quickly notice, I'm not a network nor a docker guru. I appreciate all help big time! I'm trying to run a two applications in two different docker c

LUA psvita TOUCH boton

I'm learning Lua, but I don't understand how to create a button? http://onelua.x10.mx/vita/docs/es/group__touch.html my reference if touch.front.count(

How to deactivate a conda environment before the batch file exits when closing a jupyter lab instance?

I have a batch file that I use to run my jupyter lab. file.bat call <anaconda_dir>\Scripts\activate.bat rasa_ai_conda jupyter lab conda deactivate call co

Creating a Trace Table

I need to write a trace table which is supposed to look like this picture To create the trace table I have to modify the following code with System.out.println

Limit integer and decimal parts length in flex

Is there a way I can extract the number of digits before and after the '.' in a float in Flex? I want to limit the number of digits in the integer part to 4, an

Store profile image in local storage and display it

I am building a profile page for my app in which I have a profile image section. I want to store the image that the user selects in the local storage and load i

Facebook Conversion API not receiving events on live event

I am sending an event to Facebook Conversion API. It sends fine when using the 'test_event_code' => 'TEST11781'. I receive it al ok in event manager. However

system.security.cryptography.protecteddata ,this error I'm getting in code build time. I'm was added Nuget package related to cryptography

Error MSB3027 Could not copy "C:\Users\surendra.reddy.nuget\packages\system.security.cryptography.protecteddata\4.5.0\runtimes\win\lib\netstandard2.0\System.Se

how to center the top links around a figure in hugo

I am getting into hugo, but am not sure how to go about creating a hugo site with tabs that are around a central image. As follows: What i can not figure out i