Latest Questions

Why is my Python Subscriber/Publisher node not publishing anything? Thank you

The instructions for the question are below Question report 2.7. You are now ready to make a ROS node to perform real-time extraction of the centroid of the lin

Add older documents to stream - based on filter

I created a MongoDB watcher to create actions based on the created document. Of course, the watcher does not detect documents that are created while the service

Why my grid template is not responsive as should be?? I've tried using media queries method, watching youtube vids, added meta, no changes

Below is the HTML and CSS code that I am trying to make a responsive website with. Media queries have been used to make it responsive but not working even thoug

Empty Body HTTP Post request Flutter

I am trying to send a Post request but the body of the request is meant to be empty and I have tried the endpoint on postman with an empty body and it works. Bu

How to draw QRubberBand on a QGraphicsView using Mouse?

I have my MainWindow with a GraphicsView on which I want to draw a QRubberBand using MouseEvents. Therefore I created a custom GraphicsView class where I have t

Files With A Tag in ObsidianMD

I'm trying to write a plugin that fetches the list of files containing a particular tag (like "#condition") in ObsidianMD for some downstream purposes. The buil

How I access objects which I create in scene builder? JAVAFX

For example, I created a grid pane, added text areas into every cell. Now I want to get grid pane as an Object to do something with it in my Controller class? H

app.post('\pageNameOrCanBeAnyRandomName')?

I have a page called createEmployee.js which includes 2 functions (fetchData and createNewEmployee) ... see below: const fetchData = async() => { c

Running cupy.histogram on given axis

I want to run cupy.histogram() parallelly on a 3D tensor of size (1000,10) where the histogram is performed features ( ,10) for each instance. I want to avoid d

How to get the roles in Auth0's user management to be added in the JWT?

I have an Auth0 application and I'm maintaining roles through the User Management. I would like to get those roles that are assigned to a user to be added to t

Firebase functions deploy 403 Permission denied on 'locations/null' error

I am trying to deploy Firebase functions project, on two different target projects on Firebase. One is in region "us-cenral" and the other one is "europe-west".

Regular Expressions- Match Anything

How do I make an expression to match absolutely anything (including whitespaces)? Example: Regex: I bought _____ sheep. Matches: I bought sheep. I bought a sh

Heroku review apps and github integration

We have a heroku review app pipeline configured with github integration. Currently, every time after a new app is created, we have to go in and manually disable

Convert Kitti Labels To yolo format

Trying to convert Kitti label format to Yolo. But after converting the bbox is misplaced. this is kitti bounding box. This is conversion code: def convertToYol

Code Treats .txt File Differently When Saved

I have an input .txt file that looks something like this. command1 param1 command2 param2 command3 param3 command4 param4 I am trying to reduce the

How WorkItem and Changeset needs to be related to show WorkItem in CodeLens

in our company we use some ticket system instead of workitems. I saw that Codelens in Visual Studio can show workitem, codereview or bugs. I tried to create cha

TypeError: Unknown file extension ".ts" in a Solana Anchor project

I got this error after updating Solana-cli to 1.9.4 and Anchor-cli to 0.20.1 and other local npm versions... Local npm package: @project-serum/anchor 0.18.2 Sol

`puppeteer-page-proxy` with `https` has Error: net::ERR_FAILED or RFC 6066 error

I use puppeteer and puppeteer-page-proxy proxy. I don't have problem with use args: ['--proxy-server=socks5://127.0.0.1:9150',... with either http and https. I

How to Generate Date Series in Redshift?

I would like to generate a sequence of dates in Redshift. I can easily do it in PostgreSQL using the generate_series() function. This function works in Redshift

How to decode unicode characters when using ReadAllText?

Right now I'm trying to add ASCII art to my console project using these symbols: ┌─┬┐ ╔═╦╗ ╓─╥

How to force the transfer of an NFT using Web3.js or Ethers.js

I am trying to build an application, and part of it involves transferring an NFT from my account to the user's. Previously, I was using Moralis to accomplish th

MAUI authentication with MSAL for B2C shows black screen

I am working with the .NET MAUI starter project (calling it AuthTest) and adding the changes from this article, but when the android emulator tries to start the

component styleUrls not working in production build Angular

I recently updated one of my projects to Angular 13 from 10, during development everything worked just fine. Then when I generated a production build to notice

How to get a value out of a callback function in javascript [duplicate]

var request = require('request'); var d; request('my.servers.ip?group=1', function (error, response, body) { let d = body }) console.l

Change item control property of checked listview item Xamarin.Forms

Hy, I am trying to show a comment input if the item checkbox is checked and hide it else, i have this XAML <ListView ItemsSource="{Binding TaskItems}" x:Name

Magento 2 cron notaction - comma separated values

I'm trying to set up a cron job to run on last Sunday of each month at 4:00PM. I came up with this: https://crontab.guru/#00_16_/25,/26,/27,/28,/29,/30,/31__7 0

How to prohibit usage of classes with certain annotation

In our organizations we've got several microservices and lots of libraries. Some libraries define "public" classes that are not intended for public usage - only

How to add a single data point to a line graph in D3 without redrawing

I'm working on replacing a dynamic chart implemented in highcharts. The current implementation is a line-area chart that expands over time with incoming stream

Angular: how to set up Content-Security-Policy & Trusted Types?

Having read the Angular security guidelines, I would like to: configure the content security policy enable the trusted types enforcement Here is how I changed m

not able to render element into screen by v-for

I got data from a DB, stored it in an array, but could not render it with V-For, neither did I get any error or warning. I have following data on my db: and he