Latest Questions

Leverage not taken into account by Binance with CCXT in Python

I got a little problem with ccxt on Python. I'm (trying) to code a trading bot which takes my custom tradingview signal. So I've been tinkering a little test co

How to stop MacOS XPC service

Opening macOS Console and looking at the System Log i ran into this error message that keeps repeating itself indefinitely: com.apple.xpc.launchd[1] (com.macpaw

When I gave command on CMD manage.py runserver it instead took me into VS Code and when i ran it in VS code error was on (from django.core.management)

When I ran the command on CMD manage.py runserver it intern redirected to VS Code. When I tried to run on VS Code it showed the system cannot find the specified

Is there any Fortran function to transpose 3D array?

I need to transpose a 3D matrix in Fortran. I have a 3d array: V(111,222,333); I need to transpose it to V(333,111,222). Is there any function to do that in For

networkX: ego_graph without sibling?

I have a directed with no-cycles networkX graph. I would like to create a subgraph with only all direct or direct predecessors of a given node n. For instance,

Simple Peer on data stream throws process not defined error

I am trying to open a data channel using simple peer. I send the signal using Firebase and am able to get the on connect function to fire. const [thisPeer, setT

Keras-tuning can't find callback

I am using keras-tuner in order to obtain the best set of hyperparameters for my model. I can reproduce my problem for a random dataset: def generate_data(n_win

How to remove memory leaks in android studio using leak canary

This is my leak stack trace from Leak canary in my android app. I was unable to provide the whole stack trace but here are the ends and begining ┬─&

What's difference between `add(_)` and `add(_) async`?

I don't understand what's the difference between add(_) and add(_) async method. Like the below code, the MyActor has two add methods and one of them uses async

Pandas - Cross referencing with DatetimeIndex - Groupby

I have data of many companies by month (End of Month). I want to create a new columns with groupby for each company where: new_col from Jul of this year to Jun

Delete all files without deleting folders

I have a folder named (top) with 10 folders named 1,2,3,4,5,6,7,8,9, and 10. Inside the top folder I have files, too (are not folders). I can list all the files

How can I apply the decile cuts from one dataframe to another using R

I have a dataframe (df1) and have calculated the deciles for each row using the following: #create a function to calculate the deciles decilefun <- function(

Is it possible to make java project that use another library which implements AOP using aspectj mave plugin to use the annotations from the library?

I have java library that I created which implements AOP using AspectJ runtime and AspectJ maven plugin. The AspectJ point cut is getting triggered when I add th

Markdown PDF doesn't convert correctly

I'm using VScode and trying to export PDF made with Markdown. However, there are codes in the exported pdf file, such as $ and \int etc. I don't know why but he

Is it possible to import vue-datepicker language via a variable

I am using vue-datepicker plugin in my project. According to the docs, you set the language like this: <datepicker :language="nl" /> And import {nl} from

There is no overloaded version of 'RequestPermissions' that can be called with these arguments giving more then one permisssion

with Delphi 10 i used a procedure to give android app multiple permissions on a onCreate Event: var permBatt, permRead, permWrite, permBlue, permAccess, per

Initializing an hyperarray parameter agent attribute from a database

I am similar problem to this Initializing an array agent attribute from a database but Im having a problem as it brings back the whole row of data and not only

How do I export(to a file) all people with a certain role per project in an organization in GCP?

I have inherited a project and am basically trying to get all owners per project from the more than 100 projects into a nice little list so that I can use them

Git force-push with wrong account

I added a few commits to a branch that I just created locally, squashed them and force-pushed to remote. But when I check on github web UI, it says that I "adde

How can I divide the Eigen::matrix by Eigen::vector?

following is my code. Eigen::Matrix3d first_rotation = firstPoint.q.matrix(); Eigen::Vector3d first_trans= firstPoint.t; for(auto &iter:in_point

Register external C library to avoid incorrect diagnostics / treesitter highlighting in neovim

I want to write a C file + get correct diagnostics and tree-sitter syntax highlighting in neovim. Everything works fine, unless I include an external library (i

The inner stream position has changed unexpectedly

I am trying to upload two files from Azure Function which I have received through multipart/form-data var formdata = await reqstring.ReadFormAsync(); var frontf

Using the AWS SSL certificate in JMeter

I have a collection in documentdb in which I need to verify the contents using JMeter. I'm relatively new to JMeter and I was wondering how I can connect JMeter

Check LMTOOLS ignores license file path environment variables

I want to enter the required information in LMTOOLS by creating a Batch file. How to enable the LMTOOLS ignores license file path environment variables check bo

force folder structure and names in a repository using eslint

I'm looking to force a structure of names in a specific path for a folder and it's sub folders not only the styling of the names (kebab, camel) but the actual n

Retrieve C# Attribute Data With Extension Method

Looking for a way to retrieve attribute data for a property on a class (many different types) in my data layer with an extension method... Final goal is to see

VLC: How can I see what I'm recording? [closed]

On Windows 10 I use a batch to open the webcam and start a recording. But while it is recording, the VLC interface shows black. How can I see

Nuxt : Check route is redirected from other routes or directly load?

I'm face up with a problem when login. If user is authenticated, I will let them redirect to home page. And if they come from another protected route (homepage,

How to get price without a sign €/l?

I use this formula to get the data: importXML("https://at.fuelo.net/fuel/type/gasoline?lang=en"; "//table[@class=('table')]//tr") How to get price without a si

How can I change a value in a set method depending on a boolean's answer in Java?

I'm trying to change the VAT rate of an item depending if it's a luxury item or not. I've tried using an if inside of my set method but it only uses the pre-set