All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
2 views

How to make a select distin count where with CASE WHEN or IF?

I hope and everyone is well, I have a weekly count, where I have the id_txn, payment method and the way to pay, but I have an exception and that is that when I have a specific scenario, I want it to ...
0
votes
0answers
3 views

C# Efficient way of drawing BitMaps with ImageAttributes

There is a function Graphics.DrawImage(Image, PointF[], RectangleF, GraphicsUnit, ImageAttributes) that allows to draw bitmaps with a different gamma value (by using ImageAttributes.SetGamma), but it'...
0
votes
0answers
3 views

How do I pool Oracle connections in Tomcat?

I'm unclear on the appropriate way to set up connections to an Oracle RAC database in Tomcat via context.xml. THIS method works for me: <Resource name="jdbc/mydb" auth="...
0
votes
0answers
3 views

c++ ranges flatten vector<vector<T>> to vector<T>

In this simple test case how do I flatten it from vector<vector> to vector? #include <iostream> #include <vector> #include <ranges> int main() { std::vector v{1, 2, 3, 4, ...
0
votes
0answers
2 views

Hololens 2 does not boot

My Hololens 2 was unstable in the past days. The display and/or the sound stopped working, but after a few seconds/minutes, it was able to recover. However, recently both the sound and display ...
0
votes
0answers
4 views

Issues running code with Visual Studio Code

I just recently had the motivation to learn how to code. Now I'm on my own trying to learn it but I'm hitting a wall. I use Visual Studio Code to program as it allows me to have many different ...
0
votes
0answers
3 views

How can I pop a navigation page when a value changes in a static class?

So I have a bit of a weird problem. I've implemented a camera preview class (largely following this code here: https://docs.microsoft.com/en-us/samples/xamarin/xamarin-forms-samples/customrenderers-...
0
votes
0answers
2 views

build.sbt and application.conf are not reading environment variables set by .env

I'm attepmting to build a container of a Play Framework application. For this I'm using the sbt-native-packager plugin and using the command 'sbt clean docker:publishLocal'. To simplify future ...
0
votes
0answers
3 views

Why does CMD Command generate a new layer?

All. I have one question about Docker Layer images. I think that RUN, ADD, COPY, CMD commands generate a new layer. However, I wonder why CMD command generates a new layer. For example, I understand ...
0
votes
0answers
3 views

Creating QuestionFormAnswers for MTurk boto3

I am trying to add a custom qualification with an answer key, but I have an issue with parsing the answer key xml file. The relevant parts of my script are endpoint_url = 'https://mturk-requester-...
0
votes
0answers
4 views

How do I modify csv data after upload in vue?

this is my code in vue component: import {csv} from 'd3'; //.. data: () => ({ dataset: [], }), mounted() { this.dataLoad() }, methods: { async dataLoad() { ...
0
votes
0answers
3 views

databricks Scala - UDF to check isin condition with array[String] as parameter

def IsInValues(dfData: DataFrame, filterColName: String, isinValues:Array[String] ): Long = { val df = dfData .select(filterColName) .filter(col(filterColName).isin(isinValues:_*).isNull) return df....
0
votes
0answers
4 views

API GET method to Xamarin C#

I'm having an issue retriving data from the API, or more kind of getting it in the right place. This is my API return: [{"CantPremio":"70"} Then this is my property: Property This ...
0
votes
0answers
3 views

How is the MSE of each node in the DecisionTreeRegressor of scikit-learn calculated?

I'm trying to figure out this calculation by hand. But I do not understand all the steps to how regression trees are split. My target is drug effectiveness and my feature is dosage. The tree it ...
0
votes
0answers
4 views

How to send and receive CAN messages between 2 Linux machines without any CAN hardware?

I have been trying to establish CAN communication between my laptop Ubuntu 20 Virtualbox and Raspberry Ubuntu 20 without any CAN hardware, because that will not get the CAN message in the simulation ...

15 30 50 per page
1
2 3 4 5
1327006