Latest Questions

cannot delete list elements

I am making space invaders in Java. I am trying to get lasers to work but whenever I remove a laser the timer (that the code is in) stops. I don't understand th

How can get the hexagons and circle in this image with opencv?

I can's find the hexagons and circle clearly in this image, in the process of finding, i have used too many normal ways but there was still have no effective

Django Rest-Framework search-fields wont work inside @action

I'm trying to use the search field offered by DRF inside of an action, but it seems to not work. I had a similar problem paginating inside of the action but fou

Go test not running specific test despite flag inclusion

Folder structure: ./test ├── abc │ └── abc_test.go └── run_test.go run_test.go package test impo

Is there any consensus protocol that does not guarantee linearizability?

While studying consensus protocols, I notice for the typical ones, such Paxos, MultiPaxos, Fast Paxos, EPaxos etc, they all guarantee linearizability. But it se

loading a tab delimited text file as a hive table/dataframe in databricks

I am trying to upload a tab delimited text file in databricks notebooks, but all the column values are getting pushed into one column value here is the sql code

How can I call a subroutine after an error?

I'm working on user-proofing a VBA app in Excel and I realized I'm constantly rewriting a lot of the same code to create specific error messages that are fed st

Is there a WebSocket command to execute the code blocks in a SageMaker notebook instance once there is a successful connection?

I have written a Lambda Function to start a SageMaker notebook instance, create a WebSocket connection, then execute the ipynb file inside the notebook instance

SpringBoot 2.x + Jubilee: Disk space metrics to Grafana

Small question regarding SpringBoot 2.6.x + Jubilee, and the new disk space metrics provided. Out of the box, the new metrics available with Spring 2.6 are: dis

PIC16F15257 ISSUE with different output pin voltages

Anyone have an idea as to why a pic will have very different output voltages on certain pins ?? I use multiple outputs on one switch and sometimes the one pin w

Make codes run at once for all users

Is it possible to listen to each users contract events from the database at once I've tried but it only works for one user.. Helps will be appreciated Web3 pyth

Display only nodes matched by variable length relationship query

I have a Cypher query with a variable length relationship: MATCH p = (a1:Article)-[:REFERENCES*3..]->(a2:Article) RETURN p; This gets me the desired results

buffer s3 object inputs

Does anyone know other than kinesis firehose, is there any other service from AWS can catch the S3 inject event? I am trying to do some analysis on VPC flow log

aws amplify datastore syncing the whole database

In my DynamoDb I have about 200k datapoints, there will be more in the future. When I logout my local datastorage gets cleared. When I log in, datastore starts

Python Plotly Subplots with an x shared axis and multiple y axis

I would like to know if it is possible to create subplots with Plotly with an x shared axis and multiple y axis. This what I want to do: where '##' means the pl

gnutls_handshake() failed (The TLS connection was non-properly terminated) while getting Fuchsia?

I was trying to get the Google Fuchsia source code, but I keep running into a bunch of these errors: ERROR: 'git fetch -p origin' failed: stdout: stderr: fatal:

Cannot align in a cell the text on the left and Icon on the right

I am trying to achieve a very simple thing, I tried different options but none seems to work. I have a simple JTable, in a column I use JLabel in order to show

How to fix "The required mechanism 'SSO' is not available in mechanisms [BASIC, CLIENT_CERT, DIGEST, FORM] from the HttpAuthenticationFactory." error?

Issue Description: I'm upgrading the base Keycloak image for our customized Keycloak image. I've got it working locally and if i disable the single-sign-on subs

How to shift the position of an icon from left to right in tailwind CSS?

I myself am a beginner to tailwind CSS. So I am struck on how to change the position of this close icon from the left side to the right side. And if possible ca

How can get a pop page result in navigator2

I am ready to use Navigator2 instead of Navigator1 in my flutter app. There are two pages, Page1 and Page2. Page1 can push to Page2. When pop Page2 I want to pa

How to spawn only one object in Unity AR foundation

I new for Unity and C# can someone help me? I'm creating a kids game and they tend to tap on the screen accidentally and as they look around but then they spawn

How to allocate heap in kernel space for an array of fix-sized arrays of characters?

I know that in kernel space one usually uses ExAllocatePoolWithTag function, but I don't know how to allocate memory for a dynamically-sized array of fixed-size

Rijndael Encryption/Decryption C# to PHP conversion

I have an encryption decryption class written in C# and i need help writing same algorithm in PHP to obtain same output result, any help finding a reliable solu

How to skip Azure function output binding when there is an error?

We are using a simple python azure function to forward a JSON payload to an event hub. We have configured the event hub as the function output binding. Our req

How to expand particle system angle spread to 3 dimensions

I am trying to understand how to implement angle spread for a 3D particle system, to achieve an effect similar to a fountain. I can get it to work for a 2D syst

How to detect the "closed_by_user" event via the new "Google 3P Authorization JavaScript Library API"

I'm currently using the Google Sign-In JavaScript Platform Library for web. Via the grantOfflineAccess() function I request access to scopes from the users Goog

Properly convert blob audio to webm format

Hy, I am using tone.js to record audio using my mic and then downloading the audio. Here is my code; function test() { var mic, recorder; recorder = new

How to insert multiple JSON rows into a T-SQL table

I am trying to insert following JSON document into T-SQL: { "GLDETAIL": { "RECORDNO": "264378-1756289-919567--accrual", "BATCH_DATE": "02/01/2

Vscode cannot connect to remote Linux (_WebSocket close with status code 1006)

Remote connection to Linux. After entering the password, there are two prompts on the right coude not fetch remote environment failed to connect to the remote e

How to make MSTest grab all console output from unit test? Output behind WebHost.CreateDefaultBuilder() goes missing (VS2022, .NET 6, MSTest 2.2.10)

I'm creating an integration test for a Web API, so I'm starting an entire application in a unit test using WebHost.CreateDefaultBuilder() and the usual setup bi