text
string
meta
dict
Q: How to create formulas programmatically in R based on pattern of omitted/included variables I regularly have to create upwards of 10 sometimes more than 20 models for a single analysis. The underlying formulas for these models usually follow a clear pattern, but I often struggle to come up with a programmatic way to...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630118", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Resampling by Date index I have a DataFrame df like this: Date Close Symbol 0 2018-03-05 44.21 AAPL 1 2018-03-06 44.17 AAPL 2 2018-03-07 43.76 AAPL 3 2018-03-08 44.24 AAPL 4 2018-03-09 44.99 AAPL ... ... ... ... 1253 2023-02-24 146.71 AAPL 1254 2023-0...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630119", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Convert Json file on the web using python I have added python to my android app. This app is for educational purposes and requires the user to register and create an account. I am saving user input in Json file. But since this file is on a web server, I don't know how to change the information in it. I have tried pa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630120", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Optimize polars csv load to prevent OOM crash I have not been able to get .sink_parquet() to work with csv + aggregations/expressions yet: df = pl.scan_csv('file.csv') (df .with_columns(pl.col('col_1').str.split(', ')) .explode('col_1') .sink_parquet('file.parquet') ) I get the "sink_parquet not yet supported in...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630121", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trying to connect my localhost website to visual studio code to edit the code My dad has a website his friend made for him and he was the host but I have now taken over and am localhost, I want to connect the website to Visual Studio Code so I can edit it but I don't know how to do it, how do I go about it? Any help...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630123", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Mapping value to compatible function creates uncallable function union I have to deal with ingesting one of many possible values, but within those values there is an id which can be used to get the correct change function. With typescript, however this does not work because the union of all functions is not callable...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630125", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: pytesseract image_to_string is performing slow in multi-threaded environment I am using pytesseract library to convert scanned pdf to text. This works fine only when pdfs are individually sent through pytesseract's image_to_string function. It is working fine. The problem occurs is when I send pdfs back to back wit...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630127", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use responseclass HTMLResponse with Pagination in fast api Trying to find some way to put my data on an html page along with pagination in fastapi. Implemented the pagination correctly but not sure how to put my data in html response. is it possible to use pagination along with HTMLResponse in fastapi ?
{ "language": "en", "url": "https://stackoverflow.com/questions/75630130", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Replace All Rows in firsttable with Rows from secondtable with Corresponding IDs I have these two tables: create table firsttable (id int, speed double precision); create table secondtable (id int, speed double precision); insert into firsttable (id) values (1), (2); insert into secondtable (id, speed) values (1,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630132", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Find and print the square numbers in a given range python Find and print the square numbers in a given range python Here's my approach a, b = int(input()), int(input()) from math import sqrt for i in range(a, b+1): if i%10 != 1 and i%10 != 4 and i%10 !=9 and i%10 !=6 and i%10 !=5: pass elif sqrt(i) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630133", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Color Shapefile Polygons with String Attributes in Custom Order I have a polygon shapefile of British Travel-to-Work Areas (TTWAs). Each TTWA is either rural, intermediate-density, or urban. I want to assign three customized colors to the polygons. I tried to do this as follows ## Read in saved shapefiles tR=gpd.rea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630135", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I restart a for loop in python? I was performing a code in python using for loop. But I want to restart the loop. How can I do this in for loop? a=[some list] z=len(a) for i in range(z): if....: do something else: do some changes in "a" restart the loop from the beginning with...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630137", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to reset a mayavi scene to default view? Using a mlab script, I am not able to reset the default view of my scene. I am new to mayavi and recently I've been implementing some features using the examples they have. More specifally, using the volume slicer I was able to achieve what I wanted. The mlab works just f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630139", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Initialize fsspec DirFileSystem from a URL I want to initalize a fsspec filesystem based on a URL - both the protocol and the root directory. E.g. I could create a filesystem from gcs://my-bucket/prefix that would use my-bucket on GCS, or file:///tmp/test that would use the /tmp/test directory in the local filesyste...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630145", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Kotlin coroutine suspendCancellableCoroutine on Google ApiFuture callbacks hanging New to Kotlin and trying to understand coroutines and flows a bit better in a not completely trivial usage I have hit a circumstance that is beyond my understanding though it may be a bug or more likely something have got fundamentall...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630147", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C# MySql Except unhandled exception I'm trying to do a C# MySql program for training, but I have a unhandled exception I don't know how to solve. When I click on my button2 to send the Text of Textbox1 and Textbox 2 to my Database, I get an undhandled in Cmd.ExecuteNonQuery Here is the code: using MySql.Data.MySqlCl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630148", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Argument of type 'string[]' is not assignable to parameter of type 'number[]'. Type 'string' is not assignable to type 'number' I made a function to sanitize my category lists. It worked perfectly but I have issues on my terminal. My code: onCategories Interface: interface IEventSearchFilterProps { eventData: Reco...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630149", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to avoid the 1GB $env:TEMP) in Azure Automation Powershell I'm having a problem in a Powershell Runbook. We scan the O365 AuditLogs and write the results to disk, up to this moment we userd the $env:TEMP disk. After the scan we upload the csv files into a storage account. But not our csv are getting bigger than ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630154", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Create a column and use previous value of created column in SQL I have a table where I want to calculate average price of bought assets, values is like this: RowNumber price volume prevNetVolume 1 100 100 0 2 200 100 100 3 100 100 200 4 100 -100 300 5 200 100 200 6 100 -200 300 7 300 100 100 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630159", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Create Amazon MQ RabbitMQ handler in Lambda using AddAWSLambdaHosting extension method So I've created some APIs that get deployed to a lambda, I'm using this handy extension method in my Program.cs // Add AWS Lambda support. When application is run in Lambda Kestrel is swapped out as the web server with Amazon.Lamb...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630160", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Localhost refuse to connect Freqtrade I was following a Tutorial on YT at this link https://www.youtube.com/watch?v=H2OkrvSojOI&ab_channel=PartTimeLarry. The topic was Freqtrade and how to get familiar with it. At minute 25:19 he changes some parameters in order to connect to the trading bot via localhost. I do the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630162", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to decouple service and class creation in that service? I have a service that gets users from DB and creates a file from them. It can be different types of files (SCV, XML, etc). import java.io.File; import java.util.Iterator; public class MyService { private final EventsDao eventsDao; private final Us...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630164", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: logger timestamp does not change when receiving messages from PIPE in apache I am trying to send data to a syslog server. However, the message seem to have a timestamp of the time that the apache was started. From tcpdump, i see the following: 17:18:53.254129 IP (tos 0x0, ttl 64, id 28157, offset 0, flags [none],...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630165", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: direct DOM manipulation of REACT JS in V18 appears to be persistent I've been teaching myself REACT JS. I'm new to REACT, so i only really know v18, I do not know how previous versions worked. Issue: I'm pretty sure multiple sources said something like: Do not use direct DOM manipulation, your changes will be lost a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630168", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: PHP file Upload from Remote Service I have the following PHP code to receive a call from a remote service, decode the base64 string to the image and upload it to a local folder and return the name of the uploaded file with the extension. public function UploadSurveyImageApi() { try { $request_body = file...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630171", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: using unit vectors with `healpy` I have a collection of points on the sphere, given as just unit vectors in R3. I am trying to see if they are equidistributed, and for this I want to do a spherical harmonic transform (using healpy unless someone can suggest something better). What I can't understand is what format h...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630173", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to set a rate limit a specific query in Django? I have a multithreading function that looks up and locks each item in a list. (I'm locking the query for each individual item so that other users can't hit it at the same time). I also want to limit the rate in which users can look up a specific item, i.e. item1 wa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630175", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PyTorch CrossEntropyLoss documentation example crashes To make sure I'm using PyTorch CrossEntropyLoss correctly, I'm trying the examples from the documentation: https://pytorch.org/docs/stable/generated/torch.nn.CrossEntropyLoss.html However, the first example (target with class indices) doesn't seem to update the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630176", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I edit my video files this way using FFMPEG? I want to take two video files (normal.mp4, layout.mp4) and edit them in multiple steps like this: * *Take normal.mp4 and reduce the video and audio speed to 50%, and copy it (as slow.mp4 for example) *Add fade in and fade out to all three files *Combine the fi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630179", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I'm using multiple ifs in my ifs and I'm getting an error, how do i fix this TEST = input ("TEST1 TEST2 TEST3\n") if TEST == "TEST1": ATEST = input ("1TEST1 1TEST2 1TEST3\n") if ATEST == "1TEST1": print("ATEST1") if ATEST == "1TEST2": print("ATEST2") if ATEST == "1TEST3": print("ATEST3") if TEST...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630183", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: different corner radius value for each corner (CustomTKinter) How can I specified the value of one corner from the frame, I though I could use a tuple as a value of corner_radius but it returns an error. this is the part of my code my code logoFrame = ctk.CTkFrame(master= self, width= 200, height= 100, corne...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630184", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Combinations from list of lists I want to get all the possible combinations like so: a = [1, 2, 3] b = [4, 5] c = [-1] print(list(product(a, b, c))) Output: [(1, 4, -1), (1, 5, -1), (2, 4, -1), (2, 5, -1), (3, 4, -1), (3, 5, -1)] However, I have all my lists stored inside a list: s = [[1,2,3], [4,5], [-1]] print...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630186", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Categorizing non compliant PEP440 versions python In my dataframe, I have some set of versions which are not compliant with PEP440 (although some of these are parsable by packaging.Version). The dataframe looks like this( I have listed most of the formats found non compliant by the PEP440 regex). The versions are od...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630187", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why and where is the `/tmp` directory size limited in VSCode Devcontainers? Pre-Text I am executing a scientific simulation inside a VSCode devcontainer (source here 1). The program I am running creates a big (13G) file and writes it to the /tmp directory. Unfortunately, the /tmp directory is only 11G big (middle of...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630189", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cannot filter on UUID with CriteriaBuilder in Java using Postgresql I have an entity import jakarta.persistence.Entity I'm using CriteriaBuilder import jakarta.persistence.criteria.CriteriaBuilder Using this line gives 1 result, as expected. all.where(criteriaBuilder.equal(root.get("code"), item.getCode())); Usin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630190", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: scripting difficulty - bash I am in the process of setting up an MDM system (Mosyle) to manage our fleet of Mac's. As part of the set up, we are loading apps to deploy to the fleet of Mac's via the MDM. Sophos Endpoint is what this thread is regarding, I have found instructions for how to deploy this via JAMF Pro, h...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630191", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Correct way to put all asynchronous operations of an object into a boost::asio::strand The official Boost.Asio tutorial https://www.boost.org/doc/libs/1_81_0/doc/html/boost_asio/tutorial/tuttimer5.html demonstrates how one can use the boost::asio::bind_executor function that returns a new handler that automatically ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630192", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to scrap dynamic HTML table with differencet class name for each row containing nested elements? I want to create a dataframe by scrapping the table here which has different class name for each row and contains nested elements. table_rows = driver.find_elements(By.CLASS_NAME, "bgColor-white") for _, val in enume...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630195", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Creating a symbolic link using PowerShell I am struggling with a bit of PowerShell, which I feel I should be able to do easily, and would appreciate some help. I have a series of paths storing log and config files wothin C:\temp. I need to delete the temp file and then create a symbolic link to the logged on users O...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630199", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: python aiokafka many consumers to many producers I use aiokafka to consume from, filter message fields and produce messages back to kafka. I run 4 async consumers which put messages to async queue. Then single process consumes that queue and produces to async output_queue. Multiple produces consume from async output...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630200", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Laravel error on Cloudways only: No hint path defined for [theme] I have a site built on Laravel, and on my local server + MySQL it runs well, and when I deployed to Digital Oceans app platform, it works well there. But for some reason when I deploy to Cloudways, I get this error. No hint path defined for [theme] ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630203", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can I call different effects from multiple buttons generated using a single createElement? (in Javascript) I'd like to generate a number of buttons using createElement, but I'm having trouble making the buttons do different things when they're clicked. In this example, I would like one button to make the console rea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630204", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: WebGL - OGL transparent background not working I have been trying to get a transparent background on the following code with no successes. please help const renderer = new Renderer({ canvas, antialias: true, transparent: true }); const gl = renderer.gl; gl.clearColor(0, 0, 0, 0); gl.clear(gl.COLOR_BUFFER_BIT); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630206", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Docker no such host error - Gitlab runner How to provide the correct service name image? When running a job on gitlab.com I got this error: error during connect: Post "http://docker:2375/v1.24/auth": dial tcp: lookup docker on 127.0.0.11:53: no such host This was my job pipeline: apply-terraform: stage: deploy ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630207", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flutter - Container rendering error when using backgroundBlendMode I have a container. If I use a parameter backgroundBlendMode, the color of the container changes to a solid black. At the same time, if you select a widget in the inspector, it is correctly drawn. How can I solve this problem? Container( margin: Ed...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630208", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Mui Grid Sitting at the Bottom of the Page In an attempt to get mu Fab to display in the center of the screen, I have used a MUI Grid control. The code is this return ( <> <CssBaseline /> {!isMobile && <TourHeader />} {isMobile && <MobileTourHeader />} // OTHER STUFF {isMo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630210", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I make a transaction on binance testnet via api? I'm trying to make a deal through a request, but I get an error of 400. I know that this error means an incorrect request, but I can't figure out what I did wrong. import requests import time import hashlib import hmac # Set the base API URL for the Binance T...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630213", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Recursively iterate through Object Array to sum package totals I have an array of items and some items in the array are considered to be packages. The packages can be nested inside of each other to X number of levels. The packages are also able to be collapsed but the total dollar amount of the package at each level...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630214", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Update existing foreign key values using eloquent I am trying to update multiple rows of data with existing foreign key values where basket should only link to the foreign ID of 100. Example: id title basket_id (foreign key to another table) 1 apple 100 2 banana 200 2 kiwi 300 What I have tried: $fru...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630220", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: PHP how to make a card thats between carousel buttons with bootstrap I'm trying to make a page where you can see the sold product so we can print a label and some different functions. This page can't be scrollable because it's gonna be on a touchscreen monitor. But I couldn't figure some things out: * *All images ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630227", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: RestSharp - Unauthorized status in get request I have the next situation, I have been working with an API, and the first method that I made, was a method to get a token, it works fine, but currently I have an issue with other method where I have to use the token, when I use Postman all work fine, I get the status 20...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630228", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to validate received messages from Websocket Connection using robot framework The connection using websocket is successfully created. Then I would like to send a message to the echo mock server and validate the answer. I send "hello", but I get a numerical value back as if the message was converted to an integer...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630231", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: conexion de login en inventario tengo dudas de como poder conectar mi login a mi invenatrio alguien sabe como se puede solucionar o una forma de integralo He intentado hacer una función que agregue lo que es el botón del inicio de sesión al inventario pero al momento de ejecución no hace nada no marca ni error ni na...
{ "language": "es", "url": "https://stackoverflow.com/questions/75630232", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Create subscription for multiple sns topics with email list I'm dynamically creating multiple SNS topics based on naming conventions. I'm trying to subscribe multiple people to each topic, but I can only use one for_each or count field. How can I solve this without hardcoding multiple resources? variables.tf variabl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630233", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why does en IF statement make my function repeat? <!DOCTYPE html> <html lang="sv"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Sensor Assignment</title> <meta name="description" content="Demo av en animerad bil som kan manipuleras m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630235", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Enable TLS 1.3 in SSIS 2019 package Can TLS 1.3 be enabled for use in a SSIS 2019 package. .Net 4.8 supports TLS 1.3 but SSIS 2019 targets 4.7 and SSIS 2022 targets 4.7.2. I am currently using the httpwebrequest in a script component to retrieve data from an API and the provider recently enabled TLS 1.3. Thank you....
{ "language": "en", "url": "https://stackoverflow.com/questions/75630236", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to use complete MTU size of WiFi when sending data using MQTT? I am currently sending messages using MQTT from an ESP32 board to an MQTT broker running on my laptop, which is then received by a subscriber also running on my laptop. The ESP32 board and my laptop are both connected to my local WiFi. According to W...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630237", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: python : create random unordered list from array i try to get those sixteens arrays to get printed in a random unordered list but i get Traceback (most recent call last): line 8 choix=[random.randit(1,occurence)] AttributeError: 'module' object has no attribute 'randit' import random choix = 0 occurence = 16 i = ["S...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630241", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Why is vlookup returnig N/A I have a excel file which has 4 columns on Sheet1 and I need to check If Email from Sheet 1, matches Email from Sheet2, then write the Date (B) column from sheet2 in sheet1 Tried something like that but it is returning N/A everytime =VLOOKUP(C2,Sheet2!$B:$E,2,FALSE) Sheet1 First Name (A)...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630242", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Drawing diagram of a multiple / parallel mediation model in R I want to draw a publication-ready diagram of a parallel mediation model in R. I adapted the Diagrammer + Graphviz Code provided here https://stackoverflow.com/questions/46465752/drawing-simple-mediation-diagram-in-r, but I do not seem to get the expected...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630244", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Jest warning "Function components cannot be given refs." with TypeScript Functional Component Setup The current setup is React 18 with the current versions of webpack, babel, typescript, jest & using the MaterialUI component library. Running/building the application produces no error & the warning below only occurs ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630246", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Morris.js Chart (line) - Is showing a continuous line I am doing maintenance in a system, and I need to change a graph on the dashboard,they are using the morris.js. I need to create a Morris.Line Graph, but something is not working, and I could not find what I am doing wrong. The code for now is that: $.ajax({ ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630248", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Pandas groupby and sum are dropping numeric columns I have the following Python/Pandas code: standardized_df = get_somehow() standardized_df['TermDaysAmountProduct'] = standardized_df['TermDays'] * standardized_df['Amount'] standardized_df['DaysToCollectAmountProduct'] = standardized_df['DaysToCollect'] * standardiz...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630249", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Could use some help, if anyone is willing :) This Discord Bot Should Change the Discord Members Role to Match the Game that is being played. Problem - Error reveals its self for no reason im not sure why. Members roles will change if they start a game or leave a game. app.js const { Client, Gate...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630251", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Integer input stops when the user inputs enter twice instead of once I tried writing a while loop that reads integers of any length which ignores whitespace in the process and can only terminate when enter is pressed. However, I have to press enter twice for it to exit the loop. Here is my code: while (true){ str...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630252", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to convert three decimal into 2 decimal of versions list in a file using powershell I have a PowerShell script which is collecting vm image version lists and sorting into descending order with the highest value: $imagegallery = Get-AzGallery -ResourceGroupName rg-shared-inva-eastus Write-Output $imagegallery.Nam...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630254", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Is it possible to have two init in an ObservableObject class? I have created an ObservableObject object class, and I need to create 2 inits one with passing a string parameter and another without passing. class DictionaryModel: ObservableObject { @Published var dbName: String = "" private var dbQueue: Databa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630255", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Case when for statement with multiple grouped conditions converted from Pyspark I am converting a PySpark dataframe into SQL and am having a hard time converting .withColumn("portalcount", when(((F.col("tCounts") == 3) & (F.col("Type1").contains("pizza"))) & ((~(F.col("Type1").contains("singleside"))) | (~(F.col("Ty...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630256", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Error while uploading a video to Firebase, indicating that the service is currently unavailable While attempting to upload a video to Firebase, I received an error message stating "Firebase Error uploading a video the service is currently unavailable this is most likely a transient condition and may be corrected by ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630260", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why do I get a {"error":"invalid_request"} when generating an Access Token? Why do I get a {"error":"invalid_request"} when generating an? I received the new Authorization Code "JB2I1eth" via Create Authorization Code. But with create token I get a invalid_request ! Thank you for a short feedback curl -X POST -H "Co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630262", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SIM 800L send data over http Hi i am make beehive scale with loot function, published under gnu/gpl v3. here is link: https://jbmprojekty-sk.translate.goog/aboutbh.php?_x_tr_sch=http&_x_tr_sl=sk&_x_tr_tl=en&_x_tr_hl=sk&_x_tr_pto=wapp I have big problem, i need send values from scales, temperature and humidity over u...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630266", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Tensorflow 2.0 - No gradients provided for any variable I'm a beginner to Tensorflow 2.0. I have worked extensively with PyTorch and finding it difficult to find parallels to Tensorflow 2.0 for my current work, with the available documentation. I would appreciate any help with this task: I have a pre-trained decoder...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630269", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error in rename.sf(., bi_class_svi_ProjectB = bi_class) : internal error: can't find agr columns I am trying to run a rename function. However, I am getting an error of Error in rename.sf(., bi_class_svi_ProjectB = bi_class) : internal error: can't find agr columns. Also, below are classes for my data and for the bi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630274", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pass JSON file to a Java AWS Lambda Function via API Gateway I am testing a bit with AWS lambda functions and API Gateway and by now, I can not answer the following question to myself: What is the best practice to parse a JSON Body of a Request via an AWS API Gateway to a Lambda Function? I have written several Requ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630276", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Image doesn't appears in the browser javascript I'm doing a project with HTML, CSS and `` and I pretend after the Yes button is clicked, should appear the image noite.png and after that the counter must be equal to 0 (I need this counter to know how many times the person needed to answer correctly the question). The...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630277", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to track requests time in Flask I want to stop my ngrok tunnel if no requests were made in the last 5 minutes. How can I do that without adding code in every single endpoint?
{ "language": "en", "url": "https://stackoverflow.com/questions/75630279", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Cannot import models into view.py I have following models.py and views.py . I am trying to change the date to workweek in views file. But when i try to import date , I get the following error: NameError at / name 'date' is not defined Any idea why ?? and how to fix it ?? ---------models.py--------------->> clas...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630280", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: function for horizontal stack bar with ggplot I am trying to create a horizontal stack bar but unable to do that also want to make alignment of bars dynamic like (horizontal,vertical). also want to display N with labels like showed in pic below. proba <- data.frame(PartnerName = c("China", "Brazil", "Argentina", "UE...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630281", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Logging python tenacity retry_state with logger from outer scope I have a module that includes a utility function with a tenacity retry tag from tenacity import retry, stop_after_attempt, wait_random def log_attempt_number(logger, retry_state): logger.info(f"Attempt number {retry_state}") logger.info("Logger is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630285", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Not receiving BLE notifications when using API 33 for Android 12 device The new version of Bluetooth APIs will prevent older versions device (such as Android 12 devices) from receiving notifications, but the old APIs can work normally. public void onCharacteristicChanged (BluetoothGatt gatt, BluetoothGa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630286", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Kafka "Exactly Once" semantics and max-poll-records I'm kind of confused about max.poll.records config in Apache Kafka Consumer regarding "Exactly Once" semantics in Apache Kafka. Based on my research the "Exactly Once" semantics has nothing to do with max.poll.records config. But if I set to max.poll.records=1, wou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630288", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PHP Script appears to be "running too fast" to await form post uploads and file moves I've built several forms in HTML/CSS with a single PHP script as the backend to handle sending an email from the form contents, and in 2 of the 3 forms, to attach the file uploads as an attachment after performing an AV scan, disca...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630289", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Amplify with react - relationship - not able to associate a related item in create form I am very new to the amplify/react world and stuck on below. How do I attach an existing item in the create form? I have two data models with a 1:1 relationship. In the autogenerated create form I do not see an option to attached...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630291", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SQL - Left Join on a condition, but use a default value if condition is not met I have two tables. Table V: City Value Default 1.0 New York 4.5 Chicago 3.7 And table F: ID City 0321321 Chicago 6546545 New York 6654654 Paris 4547556. London. I would like to left join table V onto tab...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630292", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Keycloak replies 401 to Angular webapp It's my first time trying to integrate KeyCloak. Here is what I've written in my Angular webapp app.module.ts file in order to initialize KeyCloak.js: import { HttpClient, HttpClientModule } from '@angular/common/http'; import { APP_INITIALIZER, NgModule } from '@angular/core';...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630294", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can't build my game Unity Editor 2022.2.6f1 . 'namespace' of task 1:unityLibrary:GooglePlayGamesManifest.androidhb:padogeReleaseResources This is an error window message I get when I click "Build and Run" or "Build" Error while evaluating property 'namespace' of task 1:unityLibrary:GooglePlayGamesManifest.androidhb:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630297", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Fix Issue of Express app deployed on Vercel? I have an issue in my Express App deployed on Vercel. Here is my index.ts file. ... ... ... const port = process.env.PORT || 5000; const mongooseURI = process.env.MONGODB_URI; mongoose .connect(mongooseURI) .then(() => { console.log("Connected Mong...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630298", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: bit of help or point in the right direction [Arrays](https://i.stack.imgur.com/8vlMX.png) just wondering if anyone can point me in the right direction, parameters and methods are kinda tricky. Not on to look it done for me genially looking to learn. Currently first year student in computer science and its hard lol o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630300", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Are older versions of gstreamer's webrtcbin incompatible with updated browsers? I have been following examples here to use Flask as a signalling server. I can run this successfully if I have the server and both clients running on the same computer (due to getUserMedia requiring either a secure connection or running ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630301", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Changing the word bot when sending messages to the user by the bot using the php programming language How can I change the "bot" part under the bot's name to "is typing..." when the Telegram bot sends a message to the user (until the bot sends the message to the user) Thank you all.
{ "language": "en", "url": "https://stackoverflow.com/questions/75630302", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Android - Upgrading from Monthly to Annual Subscription using the DEFERRED proration mode We are currently developing a react native application, which has in-app purchases (subscriptions) managed via the RevenueCat SDK. As an option, the user can upgrade from the Monthly to the Annual subscription, and we are using...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630303", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is this round button type in Flutter? I recently tried create a flutter app with Flutter 3 by following Google's Clock app which looks like to be plain Material 3, so I would like to know what is the name of this button which looks like to be a FAB-like round button but when you hold this button it becomes a sq...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630304", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Cannot invoke "com.ros.hr.mapper.EmployeeMapper.convertToDto(com.ros.hr.model.employee)" because "this.mapper" is null when am trying to hit the get all employee url in post man getting error showing and anfter compiling this it's not creating any file in target folder. error console: enter image description here pa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630305", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: imbalanced Dataset Challenges with Force-Displacement Curves: Seeking Solutions I have a dataset consisting of force-displacement curves. The dataset is heavily imbalanced, with the negative class having 29,000 samples and the positive class having only 100 samples. After transforming the force-displacement curves w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630306", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Before that I faced + - the same problem helped as List, but it doesn't help in this case I'm trying to to call HTTP API to show the information of products Future<void> getProblem() async { final responce = await dio.get('https://localhost:7050/api/Problem/1', options: Options( headers: {"con...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630308", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Wordpress meta query not working to search using ACF custom field value I have a wordpress query I want to search custom post type using an ACF custom field value but the query is not working, I am entering correct values but result is null. Wordpress Code function webdev_search_apple_post_data() { $args = array( ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630314", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Reading txt file using vb.net level: OL0-18-11-540 OL0-18-11-540 0L0-18-11-540 level for him: ULL NULL NULL number: MZYS7CE09241 serial num: MZYS7CE09241 I have a text file that I would like to extract from it the value of serial num: and the value of level for him: as strings. Thanks in advance I have tried using ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630317", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Print command truncates message through sqlcmd on Linux I am using sqlcmd on Linux (version 17.10.0001.1) to generate a SQL script that has a print statement. The sqlcmd is against Microsoft SQL Server 2017. sqlcmd -S [server] -d [db] -U [user] -i input.sql -o output.sql Inside input.sql: [logic to generate @messag...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630318", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Tailwind CSS Analyser I would like to know if someone knows if there is a tool that could give me insights about my tailwind (v3) css classes used in my project. It is a quite big project, and I would like to find very rare used classes in order to maybe combine them in some global class and tidy up my final css and...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630319", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CSS: on hover change gradient but keep background picture I have a parent-div with css-class "a" and a child-div with css-class "b". b sits within a. b has a background picture with a gradient on top. What I want to achieve: When hovering over a change the gradient of b but don't change the background picture. This ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630320", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }