Latest Questions

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

How to rethink the architecture of my Python project containing multiple async interfaces

I'm developping a Twitch Bot for approximatively a year now. Over the time, the bot became bigger and bigger to add features. Now the bot can manage multiple in

Github Actions run terraform init in multiple directories

I have 3 Terraform directories: test_1 test_2 test_3 I would like to run terraform init in each of these directories. Is there a way to do this with a loop ins

How to include JSON and File data together in FastAPI endpoint?

I would like to POST JSON and File data together, as shown in the code below: fastapi.py @router.post('/rate') def users(user_review:schemas.Rate, image123: Upl

Detect DJI drone power down event while RC is still powered on

Is there a way to determine when the drone has been powered down (when the remote controller is still powered on)? For example a pilot may change the drone batt

Error: Can't resolve 'react-loader-spinner/dist/loader/css/react-spinner-loader.css'

I am trying to use react-loader-spinner package in my current project Here is the package, but it shows me an error. When I imported (import "react-loader-spinn

Parsing empty json array as null object with GSON

I am working with some not really well designed APIs and when the object is null it returns empty array, like this: No-null response: "SourceType": { "ID": "2

Connection with SQL Server: java.sql.SQLException: No suitable driver found for jdbc:sqlserver

I am trying to connect a little Java App to a SQL Server database using Visual Studio Code. This is my code: import java.sql.*; public class App { public st

Powershell Foreach-Object parallel with az cli profile isolation

I have a script that need to call child scripts in parallel. Child scripts using az cli and create/modify Azure PaaS objects in different Azure subscriptions. T

How do I add a Canban board to the matermost(self-hosted)?

I have no idea how to add Kanban Board in Mattermost(self-hosted version). How can I do this?

Implement autofill service in android app

I'm trying to build a password manager application. During the process I've come across a problem: implementing the autofill functionality that other password m