Latest Questions

problems Installing pyodbc in Mu editor

I'm new to Python. I've been trying to install the package pyodbc but I am not having any luck. Using pip, I can install the package pyperclip. When I use "pip

Unable to attach the certificate from a keyvault in a different subscription to an app service

The app service is in subscription1 and the keyvault is in subscription2, I want to attach the certificate in the keyvault to the appservice during the terrafor

Prefered results

I am trying to list all DEPARTMENT_IDs with PRODUCT_IDs, first where PRODUCT_COST_STATUS = 1 but there are also data with where PRODUCT_COST_STATUS = 0. I prefe

Dropdown menu code not quite right on mobile

I have built a menu on this page that is live: https://boys-cry.com/ and it was working fine until I added the mobile background content on a different section

Does my code follows the principle of Polymorphism?

I'm a newbie to Java and I attempt to achieve Polymorphism with the requirements of using the following: super keyword overriding having more than two classes g

How can I force safari to enable my website javascript?

Recently I've got feedbacks from collegues and friends that some features of a website of mine doesn't work on Apple devices. With some research, I found out th

Cypress-cucumber-preprocessor missing steps in execution

When I execute the tests many steps of the scenario are missing and it the tests "pass", although these steps were never executed, they are not displayed in tes

Question - What is the pearson correlation between average dew point and average temperature? my code:

This is my Code * corr_matrix = np.corrcoef(data['Average dewpoint (°F)']data['Average temperature(°F)']) corr = "corr = " + str(round(corr_matrix[1][0]

What is the Sign Off feature in Git for?

What's the point of the Sign Off feature in Git? git commit --signoff When should I use it, if at all?

How to make python read multiple sheets on an excel file one by one

Stackoverflow Hi python noob here. I been learning python for couple of weeks so I don’t know if this is possible or even super easy. I have an excel file

Rotate around multiple axis of a GameObject

I am creating a measure app for iOS using Unity. I was able to measure distance between 2 points and show it in a GameObject. This is what I have achieved so fa

Can DB2REMOTE be used to point a file from another server?

Using the script below, I was able to load the data to the table with local files. db2 load from SOME/LOCAL/File.txt of asc modified by reclen=123 method L \(1

pytest assert called with when having multiple inputs

I'm calling the write method of this spark dataframe df.write.format('snowflake') \ .options(**self._get_options()) \ .option('d

boost.beast : HTTP/1.1 400 Bad Request

#include <boost/beast/http.hpp> #include <boost/beast/ssl.hpp> #include <boost/beast/version.hpp> #include <boost/asio/executor.hpp> #in

Way to match *all* newline-type character sequences in a text file

I'm looking for a way to obtain all sequences of newline-like characters found in a string. I'm trying to use preg_match() as follows: preg_match('/^[^\r\n]*(?

Completely Hide LogonUI.exe in Windows 10 [closed]

I am making a modified Windows 10 IoT Enterprise LTSC version where I want to run my application when the system starts. I want to hide any wi

Printing the 2nd values in 2d Array

What change do I need to make in the following code public void demo() { int[][] num = {{0, 30}, {5, 10}, {15, 20}}; for(int i = 0; i < num.length;

Typo3 Simple Template for BackendLayout

I am programming on a new Site with Typo3 and I am using BackendLayouts for the style, but it shows just the Main-Content (number 0). I don't understand the doc

How can I simplify a nested object which has a lot of repetitions?

All these three objects have the exact same property and values. Is there any way to simplify the code and make it shorter? const MyMap = { 'myObject': {

Imperatively map both entity and value object inside that entity to one table

Let's say I have an entity which is mapped to a postgresql table in sqlalchemy. @dataclass class User: id: int email: str password: str country:

Is there a pythonic way to specifc which mouse pointer performs which action when using multiple pointers?

I'm trying to run a script on my PC that uses my mouse while I also use the PC for other tasks. The script performs regular GUI interactions on one specific mon

TSQL Insert into with CTE, how to do it?

I'm struggling with the problem below. I have written CTE where I calculate quantity of headcount in year,mth and cumulatively. My code: with HRdataCTE as

Google Cloud Run can only handle 100 request maximum concurrently

So, my development team was trying to migrate from GCE to GCR and we have succeeded in deploying the Cloud Run service and The CI/CD using github actions. But w

How to guarantee a unique id without using GUID?

My multi-threaded program for invoice management's invoice class: public class Invoice { [BsonId] public ObjectId Id { get; set; } p

"Notice: Undefined variable", "Notice: Undefined index", "Warning: Undefined array key", and "Notice: Undefined offset" using PHP

I'm running a PHP script and continue to receive errors like: Notice: Undefined variable: my_variable_name in C:\wamp\www\mypath\index.php on line 10 Notice: U

Building a select query using Spring Data Specification

I'm trying to build a select query with Spring Data Specification. The query in question is the following: SELECT * FROM product WHERE id IN (SELECT product_id

How to changes words in a charts title based on condition?

I would like the title of my plot to change based on if the supply is over or under the estimate. The estimate of the supply is in DF$Supply.. If it is positive

How to SET NOCOUNT ON/OFF inside a Netezza stored procedure?

Based on NZ documentation, it seems NZSQL equivalent command NO_ROWCOUNT will suppress row count information. But how do I execute/apply it inside a NZ stored p

Unable to select files form UIDocumentPickerViewController Swift

I am working on UIDocumentPickerViewController() in swift. After opening the document picker the files and images look blur and I can't able to select anyone of

Authorization concept "user has permissions according a special project" with oauth2.0/keycloak/OIDC/openapi/spring boot

I try to secure a spring boot/React app, that communication is generated by openapi over keycloak with oauth2.0/OIDC. But my security-architecture is more compl