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

How do I fix this FileNotFoundError for binary file creation?

I have a program that gives the user a survey and saves the data gathered to different binary files for different political parties. I have this class:public class MyClass { //PoliticaParty is an enum...

View Article


addEventListener does not work correctly in the loop

let showHidePassword = function(selector){ let elem = document.querySelectorAll(selector); elem.forEach(item => { item.addEventListener("click", function(e){ e.preventDefault(); let target =...

View Article


Google Sheets : SUBTOTAL filter for non-SUBTOTAL function (such as RMS)

If I have a filter, how can I perform functions which are not included in SUBTOTAL but still ignore hidden rows?For example, condidering displayed data only, how can I perform a root mean square...

View Article

Merge dataframes with unequal lengths and substituting 0 for values that are...

I have two data frames of unequal length, one data frame contains a subset of dates of the first data frame and they each have different columns:Data Frame 1:structure(list(date = structure(c(19241,...

View Article

Select lowest time depending price

I am trying to make a query that determines the most favorable, time-dependent prices for a certain period, but also does not exclude objects for which no prices are available for this period.Since the...

View Article


Google Sheets: OR logic not working in Filter function

I am using OR logic in a filter function using the + operator to filter rows for which the start date or end date falls in a specific month. However, no matches are found in the filter evaluation.Sheet...

View Article

Image may be NSFW.
Clik here to view.

Remix with remix-flat-routes: Redirect does not work when navigating to slug...

I have a form where you submit the ID of a record. The action validates the input and returns a redirect to the child page that loads the details of the record. The file structure looks like...

View Article

Cannot initilize a thread within a class method [duplicate]

I'm trying to initilize a thread within a class method but it refuses to compile.Here is a reproducible example:#include <thread>#include <iostream>struct A { void foo(unsigned id)...

View Article


MAUI App - Release mode android build not consuming the API calls

I have a MAUI project that functions well on both Android and iOS platforms. The project involves consuming API calls using a DLL called TRIMModel.dll to make GET/POST requests.While the app operates...

View Article


Using custom malloc implementation within MKL

I am writing a program that uses Intel's MKL to do some matrix multiplications. I have a frustrating requirement that only a custom version of dynamic memory allocation is utilized. I'm aware this is...

View Article

x86: INT 13h does not read from the disk

I tried to load kernel stored on floppy disk formatted to FAT12. When I try to read sectors where kernel is located, I don't have any errors (carry flag is not set), but memory where I try to load the...

View Article

Image may be NSFW.
Clik here to view.

Is there a method to sequentially label a collection of geographical points...

I have a collection of geographical points (xy coordinates) looking like this:Collectively they follow a route with a changing direction. I am wondering if there is a way to calculate the order of...

View Article

microsoft.identity-web-graphserviceclient how to retrieve recordings and...

I was able to successfully create notification subscriptions for recording creation and transcript creation. The notification contains resource property that looks something like this (shortened for...

View Article


Calculating distance between rows of Pandas dataframe and adding to list

The question I'm asking is similar to the one I posted here a while ago: Comparing 2 Pandas dataframes row by row and performing a calculation on each rowI got a very helpful answer to that question...

View Article

Image may be NSFW.
Clik here to view.

Playwright UI timeline data get wiped when test fails

I'm using playwright UI to troubleshot my E2E tests. When I'm running a test, it successfully load the timeline (middle upper-part, where you can see the browser doing its manipulations when running...

View Article


How do I pass a base 64 image to Roboflow's Infer API endpoint?

In the documentation for the API, it says to pass base64 images through the body of our POST request.response = requests.post(roboflow_url, params=params, data=base64_image)This is the request code and...

View Article

Whats with the change in voice name en-US-Wavenet-F?

Sometime past April it seems that the voice names were changed...I'm not sure why. I have attached an example of a comparison. The new voices are of poor quality than the previous ones.Examples...

View Article


OpenCV CalibrateCamera method stealth change to CameraMatrix - ProjectPoint...

Can anyone shed some light on what is happening here?I'm using OpenCV to map the X,Y in a video to the X,Y,Z in the real world. Somehow, CalibrateCamera appears to impact the subsequent call to...

View Article

Python function to run in background

I have two functions, "one" and "two". I want function "one" to run in the background as two runs. Basically, one executes, and while it's waiting, execute two.import timedef one(msg, a): time.sleep(a)...

View Article

Waiting for image to load in JavaScript

I'm making an Ajax call which returns me some info including an image path.I prepare all this information in my HTML which will be displayed as a kind of popup. I just toggle the visibility of by popup...

View Article
Browsing all 12111 articles
Browse latest View live


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