Latest Questions

Module not found: Error: Can't resolve 'trusted-types' in '' angular

getting Module not found: Error: Can't resolve 'trusted-types' installed trusted types using this command npm i @types/trusted-types --force. and npm install t

Angular module federation on azure app service

I’m creating a website with webpack federation module. For this I have 3 projects out of 3 different git repos. So I have 3 here in azure devops. My quest

How to call a non-class function from a class method?

I'm trying to call the sh method from FileUtils. class A def self.method sh('echo hello') end end def function sh('echo hello') end function # this

ElectronJS: Window always-on-bottom (inverse of top-most / widget)

I am currently creating a system monitor application for which I would like it to work as a widget. Please see example of my application below: ElectronJS syste

Python, Convert Arbitrary List of Floats to Decimals with Most Precision without Rounding Errors

I'm writing code that has to take a bunch of floats in Python and convert them to decimals without any rounding errors but with as much precision as possible. I

Cannot access a directive before initialization. Reference error

I have an Angular module with a static function called forRoot() that receives an object as a parameter and a service with a parameter in the constructor called

Pulling another dev's PR to my local machine

A dev on my team made a PR to merge his changes from his branch to our "develop" branch. I want to run his changes to our code on my machine, since I have to wr

How do I resolve InflateException: Binary XML file line problem?

I'm going to inflate the recycler view in the home fragment using the Navigation component. There are two problems here. InflateException Issues Only one first

Flutter formkey exception displayed _CastError (Null check operator used on a null value)

I have created a form by wrapping a column widget in Form() as so Form( key: formKey, child: Column( children: [ But when I try to set fina

PostgreSQL year, quarter calculator

Given a year and a quarter, a procedure should INSERT values into table tb_quarter, which is empty and have this structure: CREATE TABLE erp.tb_quarter (

Limit OAuth scopes Firebase requests from Facebook login in Flutter

I am using Firebase Facebook social login for my Flutter app. When it is launching login window for Facebook, it has a label where it is displaying login with e

VBA script Not Copying Data - Inserting #REF

I have 1 workbook with multiple sheets and I am running into an issue copying over data from one sheet to another. Sheets - "ALL CONTACTS" & "MAA DATA" Ther

Bloom, Cuckoo filters are too big for numbers

I'm trying to use bloom/cuckoo filter to check if i already stored a tuple of 2 numbers f.e. (7,25), (47,1576), ... etc In [12]: from cuckoo.filter import Scala

Filter is not a function using React UseEffect of a data from MongoDB

I am working on a MERN ecommerce stack application. I have an API that returns all the Products I have from my MongoDB. I have attached a console log of the pro

infinite laught Lulu (infinite press: ctrl+3 while i play)

Is it possible to create a program that press infinite ctrl+3, together with me pressing other keys? I play lol and i like to laught (press ctrl+3) while i play

Specifying column with multiple datatypes in Spark Schema

I am trying to create schema to parse json into spark dataframe I have column value in json which could be either struct or string "value": { "entity-type":

Trying to hide django secret key, but getting error when deploying in PythonAnywhere

I'm trying to deploy a django project. I hid the secret key putting it in a file called .env and added it to .gitignore, so I have django's secret key only loca

C# WPF window resize is blocking NAudio WaveIn / WaveOut stream

I´m using NAudio and WPF to develop a mixer software in C#. But I have faced with a non commum behaivour: the output is playing normally, but when I resiz

Dash use html.button for export csv with filter

i'm quite new in dash. I try to create a simple dash with a filter, and an export button. My data are simple: I have two Bank, with two app (one Android, one Ap

SMOTE_NC function in R: error in the ouput

thank you in advance for your time! I'm having some trouble with the SMOTE_NC function in R (https://rdrr.io/github/dongyuanwu/RSBID/man/SMOTE_NC.html). Shortly

FreeIPA Docker Compose WEB UI

After spending hours searching why I cannot access to my webUI, I turn to you. I setup freeipa on docker using docker-compose. I opened some port to gain remote

How to include project references in .NET Interactive Notebooks?

Using NET 6 I have the following project structure: nuget.config project.code-workspace - Core Core.csproj - Api Api.csproj - Sim notebook.ipynb Where no

Find the total amount for each day. Amount calculated from all previous days if day is not Monday

This was a question asked in a BI Engineer interview. I could not solve it and still scratching my head around it. Although, I used lag window function using ca

How to parse a dynamic JSON schema in Talend

I have a Rest API that returns a JSON, but the same field is sometimes returned as an object and sometimes as an array based on available data, I'm using tExtra

problems loading data in ScrollView

I want to make a ScrollView that uses data that it async fetches from my backend. But for the moment when I try to render the subject, or even log the subjects,

Validation Control are not working on live server [Google Cloud] with VS 2015 (Asp.Net with C#)

On my local machine everything is working fine...but on live server validation control are not working. [I am using Google Cloud (Windows Server 2019)]. I am u

Replace two chars in innerHTML for all elements with same class (vanilla js) [duplicate]

How can i replace two characters in multiple elements? I have found an answer using jquery but I am searching for vanilla js. I want to replac

React Native Android Project Not Found

I am getting this error. error Android project not found. Are you sure this is a React Native project? If your Android files are located in a non-standard locat

Using syncfusion charts, the chart is not displaying in the screen

Created a simple barchart but it will not display on the page. Here's my code import 'package:flutter/material.dart'; import 'bar_chart_sample1.dart'; class Ba

How to join all columns in dataframe? [duplicate]

I would like one column to have all the other columns in the data frame combined. here is what the dataframe looks like 0 1 2 0 123 321