Latest Questions

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

UITextView contentSize is not update after paste swift iOS

When I paste some text, textview height of contentSize is not correct. It returns text height before paste. For example, I expect height value : [contentSize He

How to plot data in panda dateframe to histogram?

I have a dataset containing various fields of users, like dates, like count etc. I am trying to plot a histogram which shows like count with respect to date, ho

laravel create not send data

Basically when i use keycodes::create($data); nothing happens and by nothing i mean nothing gets created Model: use HasFactory; protected $table = 'keycodes';

how can i make the object move on that path in unity2D? [closed]

i want my enemy to be move like this in this picture. How can i achieve this in unity 2d.

Error while installing react-toggle in VS Code

npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found:

"Unsupported value: Tiramisu" while I try to set up the Android 13 SDK

I followed this page: https://developer.android.com/about/versions/13/setup-sdk to set up Android 13 SDK. In my build.gradle: android { compileSdkVersion("T

Pandas DataFrame : How to groupby and sort "by blocks"?

I'm working with a DataFrame containing data as follows, and group the data two different ways. >>> d = { "A": [100]*7 + [200]*7, "B": ["one"

Pyscript in Django application

I am wondering if we could use pyscript on HTML pages inside a Django project. I'd tried to use it but unfortunately, it doesn't work. this is the code : <he

TFS 2018 Server Web Services keeps shutting down and restarting every minute or so with message "BinDirChangeOrDirectoryRename"

We have our TFS Server hosted on Windows Server 2012 R2 Standard. Recently our TFS web application started to slow down to the point that it is almost not usabl

to_string(index = False) results in non empty string even when dataframe is empty

I am doing the following in my python script and I want to hide the index column when I print the dataframe. So I used .to_string(index = False) and then use le