Latest Questions

Gstreamer. Sending multiple files via rtp

I built a pipeline that reads one file and sends it via rtp gst-launch-1.0 filesrc location="00001.mp4" ! qtdemux ! h264parse ! avdec_h264 ! x264enc ! rtph264

Azure media service function app template deployment failed

I am trying to run live stream video analytics using azure media services. I have been following the steps defined in the repository-Github Repo. I am facing de

My Plotly plots are cut off in my Streamlit app

I'm plotting some data in Streamlit and the site looks great on my desktop. However when I view it on my mobile device the right side is cut off. My code: fig =

Rotation reverting on Mac display settings

I have four Dell monitors connected to Mac Pro. Rotation reverts to Standard for other displays if I change one to 90 degrees in System Preferences -> Displa

Why conversion from '<brace-enclosed initializer list>' to 'std::tuple<A, bool>' is ambiguous error occurs with GCC 11?

I have the following code #include <tuple> struct A{ int a; int b; }; std::tuple<A,bool> get(){ return {{}, true}; } With GCC 9.* an

How can I detect long mouse clicks with tkinter?

I want to detect a long mouse click using tkinter. How can I do that? The <Button-1> doesn't help at all.

How can I build with ant as a normal user (no need for sudo) COOJA

Recently I started working on a project in IoT, using contiki-ng. The problem I faced is when I tried to run cooja with: $ ant run under ~/contiki-ng/tools/co

Read from single kafka topic and upsert into multiple oracle tables

I'm using kafka to send the multiple collections data into a single topic using mongo source connector and upsert the data into different oracle tables using jb

Yii2 render site based on id

hope there is someone that can help me. im trying to render a site after i clicked on my gridview and it works fine but can´t seam to get it render proper

Results in ascending order with cursor

I have the following My Guitar Shop exercise in my SQL II course and am stumped with the part about getting the results in ascending order through the cursor. A

Convert dataframe to time series

Is there a way to convert dataframe to time series (same like mdeaths) df1 <- structure(list(Year = c(2021, 2022, 2020, 2021, 2022, 2020, 2021, 2020, 2021,

SwiftUI, apply drawGesture only when over Image

I'm try to apply the gesture only when the user is over the Image display not when tapped outside the image. Any suggestion how I can do? this following code dr

Can't change backgroundcolor in an excel cell using XSSFCellStyle

Here you are a minimal, reproducible example with the error. I have a class CreateXSSFColor. Firstly, I define the styles estiloBasico and celdaVaciaGris. When

Error while fetching data using FindAsync in C#

I am getting this error "A second operation started on this context before a previous operation completed. This is usually caused by different threads using

Issues with Arduino radio module interfering with EEG sensor readings

So I am making an EEG headset using the chip from a mindflex headset. I am trying to send the EEG sensor data wirelessly between 2 Arduinos using a radio module

IndexOutOfRange (IsAllDigits Method)

I am novice in C# and just learning it. I am sure that you will consider this question dumb but I really can't understand the real reason for the following in t

Elasticsearch Filebeat ignores custom index template and overwrites output index's mapping with default filebeat index template

What are you trying to do? Using Filebeat to take input data as filestream from JSON files in ndjson format and inserting them into my_index in Elasticsearch

Trim mobile numbers in textarea field

I have a textarea field in a form where I can copy paste (or type) mobile numbers. It will have one number per line, like this I can copy paste (or type) thousa

Not able to Run my Application in Azure container Apps

I have node docker application which is running on Azure app service but the same application is not working on Azure container apps. I'm not able to find the i

How to extract the output to CSV using terraform?

I have created multiple instances using terraform I need to export that output to CSV Can you please help me on this.

How to get the domain and string to the first slash

For example like this url = https://example.com/test/myname/myname.jpg result = re.search('(?:https?://)?(?P<host>.*?)(?:[:#?/@]|$)', url) I can get th

XmlException and CryptographicException when running blazor web server app

I receive these two exceptions when I run my blazor web server app: XmlException: Root element is missing. CryptographicException: An error occurred while tryin

Wrapping std::format in a template function fails to compile with the latest MSVC compiler update

I'm a bit stumped as to why this code has suddenly stopped compiling: https://godbolt.org/z/hhM5GG78x But if I change the compiler back v19.31, it will compile:

How to know which element was clicked in Blazor WASM

I'm trying to make a memory-match game with 16 "cards" (just a list with 8 pairs of ints). So what I'm trying to do now is to find out which card I have clicked

How to insert array to object using postman and nodejs. Send the data to mongodb

I Write My code like this but it has error, How to rewrite this code db.collection('collection_name').insertOne({ name:req.body.name, details:[{ age:req.body.ag

How is the list.index() method implemented? [duplicate]

I'm interested in the time complexity of the .index() in python function I'm trying to find the implementation in the docs but nothing so far.

Module Federation: eagerly shared lib and default shareScope using two module federation builds

When a single build declares a shared { eager: true } lib everything works fine. When I add an import to a second remote module federation build unless I change

how to retrieve values from plotly sunburst chart?

Plotly sunburst charts are great for visualizing hierarchical data. Is it possible to retrieve the values shown in the chart into a dictionary, or an array or s

Hierarchical Time series reconciliation using my own Forecast Python

I am trying to find a way to Reconcile my hierarchical time series buy I have only fount the library scikit-hts It forces you to use one of the models they offe

CPU Reset (CPU 0) and triple-fault when setting SS register to 0 in bootloader [duplicate]

I am attempting to create a custom operating system (for educational purposes) for which I am also creating the bootloader (multiboot 2). I am