Latest Questions

Changing a variable initialized in the outer scope after fetching using mysql

I'm trying to make a history page where users can see the videos they recently uploaded or downloaded. I'm writing it in NextJS. I'm using Mysql to store the da

Upload Offline Conversion migration to V9

I used to upload offline conversion using following code in v201809 version as provided at https://github.com/googleads/googleads-php-lib/blob/master/examples/A

Is there any way to return the color of a JTextField?

For example if you set the color of a textfield as Color.RED, is there a method to actually return that color? I found a method in the Oracle logs called getCar

How to solve two first order ODEs in which one of the variables contains a list of elements?

I need help with solving three first-order ODEs using the scipy.integrate.ode module with the integration method of the Runge Kutta Method. My problem is that I

adb server version (40) doesn't match this client (41); killing... On MacOS

I am looking my problem solution. I try many method to solve this problem. ( I am using MacOS) I am trying to run Flutter Demo App on Android Studio before the

How to populate array of arrays in react state variable?

I'm trying to add an array to an array of arrays every function run. How can I append the array to my array of arrays state variable? Here is my code: const [vo

Compare HashMap Values structured as List [closed]

I have a HashMap structured like {a=[test], b=[test, test2]} I want to compare entry values (test, test2) with each other and if any entry ha

Converting Geojson to kml using Python

I can convert it kml/kmz to geojson also, creating kml from geojson.. I tried with the below libraries Shapely kml2geojson geojson Source code below.. import j

Use a turtle as parameter variable in function netlogo

I'm trying to create a parameter variable of a turtle and use it for a function. In this simplified example I have two turtle breeds 'cars' and 'garages'. breed

Ardalis CleanArchitecture - BaseEntity & Composite Keys for AggregateRoots

What is the recommendation for extending BaseEntity as an AggregateRoot is I need to have a composite Key? Essentially I need to be able to manage an Entity tha

I have used circle marker to show places on a world map in react. How to add popup on circle marker to shows up the location when circle is clicked?

I have used circle marker to show places on a world map in react. How to add popup on circle marker to show details when circle is clicked. Currently the code s

Transpose a group of repeating columns in large horizontal dataframe into a new vertical dataframe using Scala or PySpark in databricks

This question although may seem previously answered it is not. All transposing seem to relate to one column and pivoting the data in that column. I want to ma

netFrameworkVersion in Azure App Services Api App

I'm configuring a api app in azure with bicep. This is a dotnet core 3.1 app. For netFrameworkVersion i provide 'v3.1', this however doesn't work. The deploymen

Why are my box plot and probability plot overlapping

I'm trying to plot Histograms, Probability Plots, and Boxplots, however, boxplots and prob plots overlap: This is the code in Python (Jupyter Notebook): def ou

For GCP monitoring dashboards json language, does a json schema file exist somewhere?

What im looking for is a machine readable (ideally jsonschema) version of https://cloud.google.com/monitoring/api/ref_v3/rest/v1/projects.dashboards Thanks.

array of objects with 6 keys, how to group them into fewer keys?

sorry if the title is a bit missleading, I new to js so idk how to explain what I want to do properly so I'm gonna show my code and what I expect instead. so I

Vega-Lite: More Complex Sort Functions

https://vega.github.io/vega-lite/docs/sort.html Is there a way to pass in a more complex sort to a vega lite chart? For example could I pass something like a ja

Flutter: Null check operator used on a null value Only when running in release mode, not debug

When I run this demo code (TabBarView) in debug mode, everything works fine. But when I run the demo into release mode "Flutter run --release", i get Null check

Using user info in AWS Amplify GraphQL schema

I am trying to structure a database for my application and one critical portion of it is the users association with various models in the databases. I am using

How do I combine YEAR and MONTH into a DATE?

I'm looking for an easier way to do this. My current code is written as below: CASE WHEN LENGTH(CAST (MTH AS VARCHAR(4))) = 1 THEN CAST(CAST (YR AS VARCH

How to get a proper signature to authenticate to private websocket in Wootrade

I am trying to authenticate to private websocket on wootrade I am keep getting this error : { 'errorMsg': 'signature error', 'event': 'auth', 'id': '1

Argparse: Ignore dashes in unknown arguments or collect values (potentially starting with dashes) until the next known command

I have a Python script that will later call multiple Bash scripts with supprocess.run. When calling the Python script, the user should be able to specify lists

Cl/cl.h not found in Visual Studio Code 2019 AMD GPU Win10

I wanted to get started in GPU programming and since I have an AMD GPU I would like to start with OpenCL. I have installed on my Windows 10 machine Visual Studi

Discord API - Get a list of all the servers a bot is part of

I created a Discord bot that, once invited to a guild, is able to make API calls such as GET/guilds/{guild.id}/members (https://discord.com/developers/docs/reso

Xcode failed to log metrics boringssl

I'm building a simple Xcode project to help me calculate taxes. I'm requesting an xml url but getting the error: [boringssl] boringssl_metrics_log_metric_block

How to count number of events in a dataframe before and after a given date?

I'm trying to identify individuals who have events before or after events of their first occurrence of an event of a specific type. For example, I'm interested

How to create an embedded drop-down menu in listview

How do I create an embedded drop-down menu in listview. When the user clicks the item, it will generate additional items in the listview for the user to choose.

Next Auth: Deployed code redirecting me to localhost on login

As the title suggests - I have a nextjs application that works absolutely fine locally - However, now I've deployed it to a dev environment, something really we

log4j2 logger config level does not override root logger level

According to log4j documentation, if I define a logger config for package com.a.b.c with level ERROR with root logger level set to DEBUG, only ERROR logs should

How to debug git difftool command ( WinMerge , git on windows)

I have spend some time to configure git (git version 2.35.3.windows.1) to use WinMerge (2.16.20) as a external difftool. This post was my entry point and this G