Latest Questions

spark-sql error column is neither present in the group by, nor is it an aggregate function can't solve with first_value, collected_list

I stuck with a spark.sql error that I couldn't solve with answers in stackoverflow, the point is I tried "first_value, collected_list" and they not solving erro

Finding the average of each column in a multi array in excel vba

I have an array that is myarray (1 to 37, 1 to 44) as variant I'm trying to speed up my spreadsheet so rather than using big tables with lots of formulas in I'm

SwiftUI - How to center a component in a horizontal ScrollView when tapped?

I have a horizontal ScrollView, and within it an HStack. It contains multiple Subviews, rendered by a ForEach. I want to make it so that when these Subviews are

Freeswitch 1.10 instance is failing to hang up the call after sending a fax

I am setting up a new Freeswitch v1.10 system, and one of the tasks needed is to send faxes out over our SIP lines. This is triggered via ESL using the "origina

How to reference bazel c++ protobuf output headers in a different workspace/package

I just started using Bazel a couple days ago in hopes of something better than CMake. I have a small library that contains only protobuf definitions in its own

how to configure cron as jenkins string parameter for AWS Lamda

I have an AWS Lambda function which is running once everyday through a cron defined in my CloudFormation.yaml. The current cron is written as below. Events: St

rsyslog property filter by expression not working

I want to filter the rsyslog message by the expression. when I send the message over the udp socket, the filter works as expected. But when sending the message

ODBC connection gives Unknown Host error from Power BI

I am using an ODBC driver of MarkLogic instance which I am using in Power BI to access MarkLogic database files. I am using 64 bit ODBC driver and have set up t

How to specify VPC ID in cdk FargateService

I'm trying to create multiple ECS services each service as a different stack so I can update/delete/recreate them individually. I have 2 more stacks one for VPC

Loading wkhtmltopdf DLL (`wkhtmltox.dll`) on Windows

I have installed wkhtmltopdf using the Windows installer and am using the wkhtmltopdf crate. wkhtmltopdf is installed at C:\Program Files\wkhtmltopdf, which con

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