Latest Questions

Compile GTK+ application in vscode on windows

I'm trying to compile as the title says, but I get the following error, which I of course understand, but don't know how to solve. tasks.json { "version": "

error when trying to install glpi database on windows

this error appears when I install a new database in order to run glpi Uncaught Exception mysqli_sql_exception: Unknown database 'glpi' in "C:\xampp\htdocs\glpi\

create confusion matrix (average) in python

How to make a confusion matrix with the average of the results obtained from a binary classifier for, for example, 20 training/testing iterations? These sets ca

Copy table from one workbook to another however does not copy columns with equations properly

I have written code in VBA which copies a dynamic table (dynamic because it could be 20 rows or 200 etc) from one worksheet into another. The issue I am having

The transaction has been cancelled, but our business server can still receive the webhook with successful payment

This is one of the customers who failed to pay and cancelled the Recurring payment However, my business server receives a Payment sale completed Webhook notific

flutter bloc outdated need help how do i update this, PreferencesBloc Try declaring a zero argument constructor, doesn't have a zero argument constru

it is an outdated multilanguage code with bloc flutter, the error is in, Any suggestion to fix it would be greatly appreciated. PreferencesBloc({ required

How can I conditionally render tabs depending on the value of a field of a GROQ query?

I have a GROQ query where the result is an array of documents, of which one of the fields, "fieldName", can contain "a", "b" or "c". If the array contains any w

Grid not presenting data in colums used in HierarchicalDataTemplate

I used a Grid to present a FileInDirNC type, but the ColumDefinitions doesn't seem to work? I think it has something to do with HorizontalContentAlignment = "St

normalize image with opencv in c++?

I have a TfLite model that takes a standardized float32 image as an input, the pixel range should convert from the [0~255] to [-1~1] I wrote a demo function but

htaccess fails to allow domain access to sub-directory

I have a sub-directory on a site with a zip file in it. I want to limit access to the zip file to certain domains. I have tried many methods but none are workin

How to find QnA Maker settings to send in Bot Framework SDK?

I need to find the information below QnAKnowledgebaseId= QnAAuthKey QnAEendpointHostName= to insert it into the .env file of the bot framework i created and the

Does UPS offer any real time tracking API?

I am using UPS APIs to figure out ratings and create shipments and now I'd like to track shipments in real time. I know there are a lot of services that provide

unmarshal xml to []structs with xml.Name

Problem I need to unmarshal XML from an 3rd party application to my GO struct. what i tried I created structs and am able to generate identical XML from my code

How to set shiny-server default page/url

I have 3 different shiny apps on my shiny-server: http://123.45.678.910/cats/ http://123.45.678.910/dogs/ http://123.45.678.910/birds/ They are in /srv/shiny-s

IonInput: IonOnChange event firing twice

Current behavior: IonOnChange event for IonInput fires twice when backspacing 1 character. Version: "@ionic/react": "5.6.11", Expected behavior: When value is 1

Fit unequal data into Linear Regression Model

How do I fit two unproportional arrays to a regression model? Is it possible to resize/reshape one without loosing the data? I used the code from here but my tr

OpenTelemetry collector does not export Metric attributes to New Relic

I am attempting to export Metrics to an OpenTelemetry collector container from my Node.js app, which then exports it to New Relic. I am making a simple request

Just 1 icon out of several from my sprite will not show up

Hey guys fairly new to coding so forgive me. I took logos and made a sprite and inserted into my header. Everything works fine except the #chevron, it is the on

Application with Gmap control doesn't start

I'm developing a Windows application in C# (Visual Studio Community 2022) I installed Gmap.NET.Windows Nuget packet v.2.0.3 I added the Map control and it works

Is there an equivalent for Heroku app logs for Netlify?

I have migrated off heroku due to their issues with github, but one thing I really found useful were the live application logs. What is the equivalent for that

How to load external libraries in Nuxt3?

I am using Nuxt 3 RC and based on this video and this so solution, I am trying to load the library splitting.js to Nuxt. After following the steps I am still ge

S.O.S. Visual Studio can't run go file, go: no such tool "asm"

I've been learning Go in Visual Studio Code and wasn't having any problems until I tried to create a mod file for the first time this morning. Now, whenever I t

Vuejs + Laravel router redirection issue

After login, page should redirect on dashboard component and it does but then again redirect on laravel app url Route : I have used Vue Router const routes

What are the content types and perceived types in registry editor key?

What are the content types and perceived types in an registry editor key? I have been searching and didn't found anything. Any help would be great!

The framework 'Microsoft.WindowsDesktop.App', version '6.0.0' (x64) was not found in docker image

I have created a webapi project in dot net 6.0, which internally uses some winform code. I want to create a docker image however it is throwing the following er

side_effect for "sys.argv" returns a tuple of 1,1 regardless of what I set it to when doing mock.patch

For some reason side_effect isn't having an effect when I try to change the first two instances of sys.argv to be anything they just default to 1,1. """testing"

When I try to use smtplib to send emails, I get an error

from email import message import smtplib sender_email = "[email protected]" rec_email = "[email protected]" password = "example" message1 = "test" server = sm

Flutter: draw over image with CustomPainter with DrawnLines

A part of an application I am working on involves editing photos. I am attempting to include an option to draw on an image. I can not find any examples of how t

Connect-flash not worked when imported via ES6 module import

I'm trying to setup connect-flash for my nodejs express application. I'd like for a message to be flashed when a user goes to certain pages. I'm using ES6 packa

What is the best way to render a component in every row of react table?

Hi Everyone I am fairly new to react, and looking a way to render a component in react table row. This is what I am trying to do, I have a react table which is