Latest Questions

StorageException has occurred. User is not authenticated

The error is risen when I try to upload to the storage. I've already implemented authentication in my app, and am having no problem with creating a user and aut

How to filter by condition in a pivot tab of excel?

It is a movie dataset in a simple pivot table where the row fields are by the years the movies were released and for columns I have used "box office revenue" as

dataRequested pass variable in XML

Just wondering how do I pass a this or other variables in dataRequested and dataReceived in XML events? Something like the below: <Select items="{ path: '/

How can i do many things to configure data with keras

I am a beginner learning deep learning by Keras. The ImageDataGenerator class in Keras and the flow_from_directory function made it easy to label images. But al

getting error "TypeError: Cannot read properties of null (reading 'useState')" on useState usage react

So I'm trying to use useState in my nextjs app, but as soon as I add in the line of code to initialize useState it throws a popup error with the error message:

SQL Optimization: multiplication of two calculated field generated by window functions

Given two time-series tables tbl1(time, b_value) and tbl2(time, u_value). https://www.db-fiddle.com/f/4qkFJZLkZ3BK2tgN4ycCsj/1 Suppose we want to find the last

Python PIL - Cannot find reference '[' in 'None'

I've been searching answers for this for the past hour and I'm feeling like any already asked question just barely misses my case. I have been tinkering with th

Transition on light/dark mode

I did the code for dark/light mode this way, using Javascript and CSS. but I can't find anywhere a way to add a transition on changing the light/dark modes. CSS

Automatically upgrade a dart package

I have a package on github and it is been used in two of my projects, but every time I make a change to the package I have to run flutter pub upgrade on both pr

MSAL PublicClientApplicationBuilder with AzureAD external user cannot access SharePoint

We have a Windows Application using MSAL with PublicClientApplicationBuilder to access SharePoint with the delegated permissions of the logged on user. When our

Best way to handle 2 websocket connections in the same time

i am handling data from 2 websocket servers and i would like to know whats the fastest way to handle both connections in the same time given that the 1st connec

Can't launch Spyder after installing with pip

Python beginner here. I would like to use Spyder as my Python IDE. Alas the standalone version does not include pip and I want to work with "Vanilla Python" rat

mysql if exists return the record value instead of regular output

I want a select that if/exists it returns the 'link' value instead of regular output. so instead of '1' it returns the 'link' Is that possible? SELECT IF( E

I want to replace letters/words, but I am facing challenges in one aspect of my code

I will be using lloll as an example word. Here's my code: mapping = {'ll':'o','o':'ll'} string = 'lloll' out = ' '.join(mapping.get(s,s) for s in string.split()

Could anyone help me to read 64 bit from console in 32 bit RISC-V

I am new to assembly, but could anyone teach me how to read 64 bit from console in 32 bit RISC-V? .eqv SYS_EXITO, 10 .eqv CON_PRTSTR, 4 .eqv CON_PRT

Mongodb backup using docker-compose

I'm very new to Docker and I'm confused about how to backup the mongodb database. I'm using 2 containers, both connected through a network. the express app cont

XGBoostError: rabit/internal/utils.h:90: Allreduce failed - Error while attempting XGboost on Dask Fargate Cluster in AWS

Overview: I'm trying to run an XGboost model on a bunch of parquet files sitting in S3 using dask by setting up a fargate cluster and connecting it to a Dask cl

I have an error when creating a search and list view for my app

My app is linked to a microsoft server which has tables with employee names that need displayed on the app when searched. I also want whenever a letter is typed

Unable to resolve npm install pre-gyp error

I am trying to install this app locally on my m1 MacBook air > Github - Todoist Clone Running npm install in the terminal is causing the following error, ple

memory limit exhaused - symfony 5 with flysystem [duplicate]

I try to provide Download Streams for my Project, but always run into memory limit exhausted error on files larger than 128M. php memory limit

How to get child JsonNode with a Jayway JsonPath

Here're my use case: Given a JsonNode (already parsed by Jackson), I'd like to provide a list of Jayway JsonPath to select sub JsonNodes that I'm interested. i.

SQL Server combine case with convert statement

Hi im stuck with this query, what i want is to get one column "fecha_registro_convertida" with the condition of the case statement but also with the CONVERT sta

How to glob files into folders depending on their prefix

I have 4000 fish picture files, named as follows: acanthistius_cinctus_1 acanthistius_cinctus_2 acanthopagrus_latus_1 acanthopagrus_latus_2 ... There are 468 s

Barcode Scanner - (Data Wedge) TC26 device reads data twice in EditText

I am working on a barcode scanner using DataWedge API's for TC26 device. I can see sometimes the value in EditTextBox the value is shown twice randomly. For exa

PowerShell output returns more fields than selected

I've been learning PowerShell over the past month and often times I've found through select statements or -properties iirc, that I get additional data that I do

Associated type for ndarray arguments in rust

I want to create an interface for a (numeric) algorithm for which I want to provide an implementation with ndarray and similar libraries (let's say pytorch bind

Capacitor iOS Using Cookie Based Auth

I am using Capacitor v3, NextJS static export, and a Django backend to build out an iOS app based on a production website. The current backend authentication sc

Does it matter to filter results when doing aggregation?

I want to get my sales for each day which is located in my orders_summary table. orders_summary table columns: id, date, amount, sku_id products table columns:

I can't install the sf package when I use the renv package in a project

I started a new project in Rstudio and selected the option to use renv. The first thing I did was type the command install.packages('sf') and R returned the mes