Latest Questions

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

Selecting all rows from t1 join t2 on id and select the lowest value from t2 or null if not any

I have two tables, one holds some categories and the other holds players' records like so: Categories Times id Name id UserId MapId Categ

kwic() function returns less rows than it should

I'm currently trying to perform a sentiment analysis on a kwic object, but I'm afraid that the kwic() function does not return all rows it should return. I'm no

How to create an Office 2010 Add-in in 2022?

I am trying to create an Office add-in, mainly for Word, that consists of a simple Task Pane that displays search results from a website. I need it to work in e

Android Studio - Kotlin - how to display scrollable text

I am new to Android Studio and Kotlin. I am outputting texts regularly to the display. Think of an old-fashioned ticker-tape newsfeed, where the latest text is

Get file name is open in auto desk forge

In the question : How to retrieve filename from Forge Viewer? I used this : NOP_VIEWER.model.getData().loadOptions.bubbleNode.getRootNode().children[0].name() b

I want to asyncronous blink a led during wifi connection micropython board

I have two co-routines. I start led blinking and wifi connection, but after wifi connection is complete i want to stop led blinking function. Led blinking funct

How to close sidenav menu when click out of container div

I'm building a sidenav menu that appears and disappears when click a button. I learned a lot here about stacks, users have helped me up to this point, but now I

Performance degradation when using CrmServiceClient and AuthType OAuth in Dataverse

I've got an MVC.NET solution that calls the Dataverse API and I'm seeing a significant performance degradation when using CrmServiceClient and AuthType=OAuth co

Fetch runs in a loop

I am fetching data in my react component import React, { useState, useEffect } from 'react'; import { fetchBookData } from './bookData'; import "./App.css"; ex

Elasticsearch Node.js delete does not work

I have the following function to remove document from index: async deleteDocument (indexName: string, id: string) { const indexExist = await this.isIndexExi