Quantcast
Channel: Recent Questions - Stack Overflow
Browsing all 11631 articles
Browse latest View live

CCXT Take Profit and Stop Loss Error for a Pending Limit Order

I would like to edit a pending order for the inputs of take profit and stoploss (as far as I know it is not possible to perform placing order + take profit + stop loss together with a single command)...

View Article


Getting "pointer being freed was not allocated" when translating between...

Currently trying to translate between Chinese and English using Google's MLKit Translation API. However when I translate from English to Chinese, and then Chinese back to English, it results in the...

View Article


why is the desirable number not getting stored in C from the user input data...

My goal is to use the property of scanf() function. I want to supress ':' in the input to get the hours and minutes value into their respective variables hours_var and...

View Article

Export to GCal from GSheet using Apps Script: Exception: Invalid argument: title

I got an error when try to create an event from GSheet data to GCal using Apps script: Exception: Invalid argument: titleThe code i used:function scheduleEvents() { var spreadsheet =...

View Article

Django - Cannot Display Elements Based On Field Value

I’m currently building a gaming app where a currently logged in user has access to play different games based on their rank in our application.So if a currently logged in user has a rank of let’s say...

View Article


Gscript PDF to text by OCR, problem with some characters

I've been using the function attached below for over a year and it worked perfectly. However, 2 days ago, something changed and it stopped converting Polish characters in multiple installations. I have...

View Article

Adding standard error bars to a bar graph

Hi i am trying to work how to add standard error bars to my bar plot on r but i can't quite work it out!This is my bar plot code:ggplot(data=pdiv, aes(x= Area, y = Diversity, fill=Area)) + geom_col() +...

View Article

Check if url (with or without protocol) contains minimum one...

I need to check that a URL string (with or without protocol) contains a minimum of one subdirectory/subpath.Eg....

View Article


UITextField Range input from min value to max value of 5 -> 30

I have a text field and I am trying to add error handling for a condition were the min value is 5 and the max is 30. I can't seem to figure out a solution or condition to satisfy this as if I input the...

View Article


Is there a type of parameter that can (efficiently) accept one or multiple...

I want to make a helper function that can take 1 or more floats depending on the context in which it's being used. Pseudo version shown here:void processData(float data) { //stuff}where I could call...

View Article

Angular - PipeTransform - Filter observable array

I have a problem when creating a PipeTransform, the input is Observable<Array> and I want to filter this Array it based on another parameter, but it doesn't work.Any help where I'm going...

View Article

Understanding Function Scope and Closures in JavaScript

I'm relatively new to JavaScript and struggling to grasp the concept of function scope and closures. I've been experimenting with functions and encountered some unexpected behavior. Here's a simplified...

View Article

C++ Finding if two cubes represented as a massive are the same

So i have a task,is given a file,on the first line is a number n and on the next n lines are represented cubes with 6 digits,each digit is representing a cube face, if it is noted with 1 this face is...

View Article


How to correct put return from the function into in statement

I create function that return few values into 1 varchar row.select listagg(q'<'>' || expr || q'<'>', ',') into v_returnfunction return varchar2(1000).optionally expr can be number or...

View Article

Need assistance with roop install. Will pay $50 to anyone that successfully...

Installing roop using these steps in this video.It went ok till here:C:\Users\zzzzz\OneDrive\Desktop\DeepFake>Git clone https://github.com/s0md3v/roopCloning into 'roop'...remote: Enumerating...

View Article


Spring Security 6 OAuth2 and WebClient

My application needs to connect to a third party provider which requires OAuth2 authentication. I use Spring Security 6 (with Spring Boot 3.2) and I am trying to configure a WebClient to use...

View Article

Communicating using Pyro5 in kubernetes

I'm trying to deploy a couple of Pyro5 objects to be able to have other services communicate with them on a kubernetes cluster. Moving from a docker-compose setup it was working fine and wellby just...

View Article


Setting Up Non-Root User and Group in Bazel oci_image with Proper Permissions

I'm working with Bazel to build an OCI image for a Python application, and I'm trying to configure it to run as a non-root user (mo1). While I've managed to specify this user in the Bazel oci_image...

View Article

RuntimeError: Event loop is closed when using redis.asyncio with pytest

I am trying to write tests for an asyncio-based Python app that uses Redis.I reproduced the Python code from the official Redis as a document database quick start guide and turned it into tests:import...

View Article

Problem installing Godaddy´s Python package

I´m trying to install Godaddy´s Python package but I can´t, here´s the code:PS C:\Users\Usuario\Desktop\Sitio web Gabriel> pip install godaddy ERROR: Could not find a version that satisfies the...

View Article
Browsing all 11631 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>