Latest Questions

How to make Gstreamer pipeline use GPU

I am using below gstsreamer pipeline to stream camera on remote system, gst-launch-1.0 -e -v udpsrc port=5000 ! application/x-rtp,encoding-name=H264,payload=96

Android deep link intent doesn't work on some devices

I have an app that listens for a deeplinks starting with example:// The app can be launched by scanning a QR code containing a deeplink. <intent-filter&g

Why are "--slave" and "--no-restore" being used by commandArgs when I call my R file with Rscript

I am running an R script using Rscript from the command line (linux) like this: Rscript myscript.R inputfile1.csv inputfile.csv integerArg My command args are

get a list of locations for indoor routing

I'm trying to add indoor routing to our HERE map. I'm trying to use the example from the sample site to start with. However I don't know the longitude and latit

Get specific rows which match condition pandas [duplicate]

I have the following dataframe My current code is as follows: Outcome is to only show instances where ImageFileName is services.exe and the P

Use Browser Search (Ctrl+F) through a button in website?

I have created a website and have added a button and lot of text. What I want is to use the browser search (Ctrl+F), when I press the button which I added in we

Nuxt 3 package import specifier "#internal/nitro" is not defined

I tried installing the new version of Nuxt.js with command: npx nuxi init nuxt-app Then tried just run and project in Nuxt 3 works fine. But when I tried run t

Is it possible to prevent UIMenuController from being dismissed when one of it's UIMenuItems is selected?

The default behaviour is that selecting an item will dismiss the menu. I see that some Apple's apps have items which will do some action but keep the menu open.

How can we assign a field of user table say id that is primary key, to another table as a primary key? using hibernate

See I dont want any mapping but what I want is just a simple thing that is.... I have two Entity Tasks(taskid,taskname.....,userId) User_Credentials(userId,pass

SSIS CONNECTION MANAGER - Project level connections causing issues

I started working on one of the SSIS packages which has 4 connection managers. I changed them to project-level connections from the package level. Now I added a

SQL FOREIGN KEY ERROR (errno: 150 "Foreign key constraint is incorrectly formed")

Hi I have this three very simple tables but I can't fix it to get the right format of foreign key. CREATE TABLE company( company_name varchar(30) UNIQUE NOT NUL

I want to integrate ad to my app, but the problem is that the ( Type mismatch. Required: Context!, Found Fragment class)

I want to integrate ad to my app, but the problem is that the MobileAds.initialize(this){ initStatus-> not work this method( onCreateView) But I am use this

How can I match the colors for the output PDF?

I'm using fpdf with fpdi to import an existing PDF and make changes. However, the downloaded PDF looks much different than the one rendered in the browser (Chro

The term 'g++' is not recognized as the name of a cmdlet, function, script file, or operable program [closed]

Could you guys tell me why a simple c++ file can't work and gives me errors in the terminal.Is it a simple error? Thank you.The photo is on th

Recyclerview notifyItemRemoved removes a wrong item and not working properly when using view binding

When removing an item from recycler view, it is not working properly. For instance, if you remove beginning from the start it removes other items that are not p

AWS Application Load Balancer error 404 on socket io

Is there anyone who encountered AWS ALB alternating errors 404 and 200? 1st refresh (404) Cannot GET /socket.io/ 2nd refresh (200) 0{"sid":"0tMHzHEjhSK3wRK2AAO

How to import DateTimeFormatOptions in

I want to store a DateTimeFormatOptions for date.toLocaleString() to use in multiple places in my app. I defined it like: export const timeFormat = { month: 'nu

How to delete a specific array element in firebase collection?

I have list of appointments stored in firebase collection, how can I delete a specific appointment ?

Moodle SQL number of students

I am not really an export in SQL, I found this code so far, which lists the number of students (who enrolled) grouped by courses. I want to have a Start date an

CadQuery: Selecting an edge by index (Filleting specific edges)

I come from the engineering CAD world and I'm creating some designs in CadQuery. What I want to do is this (pseudocode): edges = part.edges() edges[n].fillet(r)

Page level scrolling per TabBarView with widgets on top

I would like to implement the following behavior in Flutter for web where scrollbars allow to scroll all the way up and down of the page on any of the tabs. Scr

how to prevent getting multiple responses in Axios react native?

I want to get data from database. the function CurrentUserId get the details of the current user. i need to get data using GetTemplate function the problem is t

how to solv: gPRC with python,"the JSON object must be str, bytes or bytearray, not RepeatedScalarContainer"

This is my first question on this site, and my English is not so good.So,if there is any misunderstanding, please tell me. Thank you. I am trying use gPRC to se

Naming convention for variables containing file path or its parts

What are standard or most self-descripting variable names for variables with following values? (Consider them from perspective of File.Ext) // Windows environme

Grouping files by their file name and get the latest files based on the last modified

I am currently processing a list of files in multiple sub-directories. I have managed to do that, but the problem is that I have multiple files stored in multip

How to join two very large dataframes together with same columns?

I have two datasets that look like this: df1: Date City State Quantity 2019-01 Chicago IL 35 2019-01 Orlando FL 322 ... .... ... ... 2021-07 Chicago IL 334 202

Delete Rows Older than 30 Days Using Laravel Eloquent ORM

I'm trying to delete the records from my database table that are older than 30 days. I haven't executed the code because I wanted to check if I'm doing it right

Get records that are a time interval away from a given date and specific conditions on a pandas DataFrame

Let it be the following Python Panda DataFrame: | ID | date | direction | country_ID | |-----------|-------------------------|----

Renaming localization of built-in Active Directory Groups using SID

I have a few site/domains that someone installed with a foreign language, hence the built in security groups are in localized language. It doesnt help adding a