Questions tagged [real-time]

A task is real-time when the timeliness of the activities' completion is a functional requirement and correctness condition, rather than merely a performance metric. A real-time system is one where some (though perhaps not all) of the tasks are real-time tasks. DO NOT USE THIS TAG if all you mean is 'real-world'.

Filter by
Sorted by
Tagged with
-2 votes
0 answers
11 views

Is engineering in lpu is difficult to complete? [closed]

I'm thinking that the engineering in lpu is difficult to complete. Because, it is difficult to survive in LPU weather. The people coming from South, they take time to adjust with surrounding. And the ...
Harthik Dasari's user avatar
-3 votes
0 answers
39 views

Design a budget based capping system for customers [closed]

I am developing a real-time loyalty system where customers earn points for transactions, subject to a monthly/yearly budget for the entire loyalty program, rather than individual customers. With a ...
Muddassir Rahman's user avatar
0 votes
0 answers
14 views

Realtime OS: PREEMPT_RT Linux vs QNX and other

I have a lot of questions on Linux with RT-patch vs native RT OS and applications. Please answer them because there's few information on RT applications, unfortunatelly.. Can you please explain does ...
Alexey_BH's user avatar
  • 113
0 votes
0 answers
11 views

Enabling Simultaneous Interaction with Code and Video at same window

I'm intrigued by the user experience in interactive coding tutorials, such as Scrimba, where learners can interact with both the video lessons and the code editor simultaneously. I'm eager to learn ...
Tanvir Rahman's user avatar
1 vote
1 answer
73 views

Managing User Connections Outside SignalR Hub in .NET Core: How to Terminate Specific User Connections?

I'm working on a project in .NET Core utilizing SignalR for real-time communication. I need to manage user connections outside of the SignalR Hub. Specifically, I'm trying to terminate specific user ...
Louise Yousre's user avatar
0 votes
0 answers
19 views

real-time video rotation by arbitrary angle

TL;DR: is it feasible to rotate a video stream in real-time by an arbitrary angle (not 90 or 180)? More details: In a medical device being designed, a camera will feed a video stream to a single-board ...
tinkerer's user avatar
  • 153
0 votes
0 answers
16 views

Live monitoring of MariaDB from Node.js

I have a MariaDB server (version 15.1 Distrib 10.11.6-MariaDB) running on a Ubuntu 22 server and would like to monitor UPDATE and INSERT operations in a particular MariaDB table from a Node.js ...
Ioan's user avatar
  • 29
0 votes
1 answer
44 views

Live monitoring of MySQL from Node.js

I have a MySQL server (version 8.0.35-0ubuntu0.20.04.1) and would like to monitor UPDATE and INSERT operations in a particular MySQL table from a Node.js application. These changes should come from ...
Ioan's user avatar
  • 29
0 votes
0 answers
9 views

Supabase Realtime makes page unresponsive on Nuxt 3 app hosted on Vercel

For some reason, the realtime feature for Supabase does not work on vercel in Prod. I am able to build and run the code with no problems locally on dev and prod builds, but when I deploy to Vercel, ...
Morgan Winbush's user avatar
-4 votes
0 answers
20 views

How can I achieve real-time updates to a crypto wallet balance after a user deposit in my application? [closed]

"I have a section on my website where users can deposit an amount into their account as a cryptocurrency wallet (crypto wallet address). I want to perform this action in real time. Meaning, that ...
Saman Sayar's user avatar
0 votes
0 answers
13 views

'IterableSimpleNamespace' object has no attribute 'parent'

I am trying to use yolov8 for real-time webcam-fed video object detection. So, in my track.py file I have this block of code: @hydra.main(version_base=None, config_path=str(DEFAULT_CFG.parent), ...
Roshan Sharma's user avatar
0 votes
1 answer
34 views

Sharing data between Threads in Python

i am currently programming a little application that gets a dataArray from a UDP socket and then 3 different threads should check this dataArray for items that belong to it (all datachunks have IDs, ...
anonymous's user avatar
-1 votes
0 answers
16 views

Building a SpringBoot Angular app for a live concert stream with 10000+ users and more watching. Seeking advice on tools and considerations. Thanks

Planning a legal live concert streaming feature in my app. The team will use professional cameras to stream to users' phones and PCs. Seeking advice on the real-time communication service, and ...
Amen Jouini's user avatar
0 votes
0 answers
16 views

Troubles with a node.js server and socket.io on cyclic

I want to create a little web application for a school project which is supposed to show the dashboard regarding a sports game. Therefore, different people can access it and add/subtract points. I ...
Fynn Zentner's user avatar
1 vote
2 answers
37 views

Exploring Real-time Code Execution Visualization in Node.js with React and Socket.io

I'm currently working on a project involving real-time code execution visualization in Node.js, using React on the front end with Socket.io for communication. The key components include user-written ...
Vishawjeet -124's user avatar
0 votes
0 answers
42 views

If the function lacks a print() statement, it fails to operate correctly in Python

I am using Django channels in which I am creating a function that can get data from the database but the problem is when I am using the function with the decorator @database_sync_to_async it does not ...
najam iqbal's user avatar
-2 votes
0 answers
31 views

Best practice? OSM layer with moving gps data, update every 5 sec

I'm looking for some best practice advice: I'm getting GPS data from a REST-API (GET) from two different servers and for several objects each. I would like to store this data in a database I would ...
wal_mt's user avatar
  • 1
3 votes
0 answers
71 views

Increase linux kworker thread priority?

I have a dual core 1GHz ARM system with linux where the business application should do low-latency serial IO> <10ms response time, receive ~10byte request, send ~20byte response. After a few ...
Gyorgy Szekely's user avatar
0 votes
0 answers
17 views

How do I make the channels for each chats using Pusher Channel

So basically I am making a social media web using Django, and I also build a chat message on my web as well, so I looked into YouTube and followed a tutorial to make a real-time chat message, and I ...
Thành Nguyễn Đăng Phúc's user avatar
0 votes
0 answers
46 views

Accessing Real-Time Follower Counts via API for Various Social Media Platforms

Details of My Problem: I am working on a project where I need to fetch the real-time count of followers for various social media accounts (in this case: Twitter, Instagram, YouTube, Twitch, TikTok, ...
Last's user avatar
  • 25
0 votes
0 answers
21 views

Laravel rest api - calling SSE or Long polling blocks other HTTP request

I'm working on a Laravel + Vue SPA with a comment module for a ticketing system (helpdesk), aiming to implement real-time comments. I've successfully implemented an SSE with a while loop. However, an ...
Church's user avatar
  • 33
0 votes
0 answers
21 views

ImportError: cannot import name 'ops' from 'object_detection.utils' (unknown location)

I have error when running script for import object_detection.utils: from object_detection.utils import ops as utils_ops from object_detection.utils import label_map_util from object_detection.utils ...
sansannn's user avatar
0 votes
0 answers
27 views

How can I extract the maximum value of Overhead column and Shared Object name in perf top?

I use perf top command to look at the system performance. As a result, I get a table that is updated in real time: # Overhead Shared Object Symbol # ........ ......
alxdid5's user avatar
0 votes
0 answers
21 views

How to display messages one by one in flask-socketio and not in bulk?

I'm learning and building a summarization model. But it takes a long time to summarize. I wanted to show messages to the users of what is happening in the background. I used Flask for backend, and ...
Maydae's user avatar
  • 1
0 votes
0 answers
119 views

Can an excessive use of smart pointers lead to an increase in system kernel calls?

Can an excessive use of smart pointers (especially shared_ptr) cause an increase in kernel calls? I am trying to optimize and simplify a real-time (QNX) codebase. One focus besides memory and realtime ...
Khashayar's user avatar
  • 367
0 votes
0 answers
59 views

how to Convert MiDaS depth prediction to real-world distance?

I am using MiDaS (specifically the "DPT_Hybrid" from PyTorch Hub) to estimate depth from a single RGB image. MiDaS returns a depth image with values in the range 0-1. I understand that these ...
Bilal Bilal's user avatar
2 votes
1 answer
119 views

Performance issue with low microservice utilization in K8s (impact to development and devops also)

When I designed microservice and made deployment to K8s, I saw that I had problem to get higher utilization for my microservices (max. utilization was only 0.1-0.3 CPU). Do you have best practices, ...
JIST's user avatar
  • 1,361
0 votes
0 answers
32 views

How to capture audio output on macOS using Python

I would like to capture output directly from the speakers to make a real time audio visualizer. Is there a way to do it using python? I tried using the Realtime_PyAudio_FFT by aiXander (I am using ...
Nikita Re's user avatar
0 votes
0 answers
17 views

React real-time data-saving?

So, I am a Javascript developer and I ove using React fr all kinds of things but I faced a big stone. Our application has a form which has many many inuts, checkboxes and so if a user starts filling ...
Matey's user avatar
  • 1
1 vote
0 answers
38 views

Balancing LSM key-value storage access between users, and 'hanging' problem

Typical LSM key-value databases like goleveldb are unpredictable in throughput. They can write a big batch of data into L0 but then get 'stuck' until all so called 'compactions' are finished. In my ...
Roman Maltsev's user avatar
0 votes
0 answers
30 views

Matlab function deployment in RaspberryPi for HIL simulation

We have been working with a real time simulator and tried to implement an optimization algorithm using simulink but it appears that will not work since the C code generation is not possible with ...
Mohamed Laamim's user avatar
0 votes
1 answer
67 views

Flutter play audio directly from binary data from socket

My app receive binary data from socket and need to decode binary data to audio and play realtime directly. i have searched and no library support play audio directly from binary stream realtime. ...
Bình Nguyễn Bá's user avatar
1 vote
2 answers
42 views

Reactjs, node express server and Socket io real time - Error 404

I am trying to make a realtime chat room using reactjs and express server but I got this error: GET http://localhost:3001/socket.io/?EIO=4&transport=polling&t=OjDsdRi 404 (Not Found) Here are ...
moses saleh's user avatar
0 votes
1 answer
41 views

Error message "WebSocket HANDSHAKING - WebSocket REJECT - WebSocket DISCONNECT" in Django Channels

I recently followed the official Django Channels documentation (version 4.0.0) to set up WebSockets in my Django project. I've gone through the documentation tutorial and configured my project ...
DJAMA Med's user avatar
0 votes
0 answers
58 views

How to establish a WebSocket connection with MT5 server for real-time symbol pricing?

I am exploring the potential of creating a real-time data streaming application that involves integration with the MT5 server. The application aims to fetch real-time symbol pricing and trade profit ...
Umair Ahmad's user avatar
0 votes
3 answers
91 views

Real Time Speech-To-Text Application using socket-io

We are trying to build a web application. For the sake of simplicity, let's assume there will be a frontend application (e.g. React app) and a backend application (e.g. Flask). We will collect the ...
Anıl Eren Göçer's user avatar
0 votes
0 answers
97 views

How do I handle a RTSP Stream crash and latency delay?

I am trying to view a RTSP stream from a cctv camera using opencv and then I am trying to feed each of it's frame to a ML model to analyze the video. The problem is either the stream lags (becomes 20-...
irfan kobber's user avatar
0 votes
1 answer
46 views

How to draw a highchart with websocket feeds?

This is an Angular-HighChart question. I am trying to feed data from a websocket to dynamically draw a line chart. Following are the code. HTML <highcharts-chart [Highcharts]="Highcharts_bt&...
xymzh's user avatar
  • 95
0 votes
0 answers
50 views

How to capture real-time output from a native process in C#?

I am attempting to capture real-time output from a native process and forward it to a SignalR client using C#. However, I am not able to capture the output as expected. I have created a NativeProcess ...
vitkuz573's user avatar
0 votes
0 answers
28 views

Socket.io not working during on-mount and only works after refreshing the browser

I attempted a real-time push notification in my food-ordering web app with a customer and vendor portal. A small real-time notification banner at the corner of screen should appear due to the below 2 ...
Desmond Tong's user avatar
0 votes
0 answers
116 views

How to subscribe to a pocketbase collection with sveltekit?

I'm trying to make my sveltekit project realtime. My problem is that I have to reload the page if I want to see changes in another instance. I tried to subscribe to the collection with onMount() from +...
Juhász Csaba Mátyás's user avatar
0 votes
0 answers
33 views

How can I establish a very stable connection between my host computer and Jetson NX Devkit?

I am working on a RC car project. Currently, the issue that I am facing is network related. I am trying to map and localize myself on the third floor of an old building. At the same time, I would like ...
bach's user avatar
  • 21
0 votes
0 answers
49 views

Live Transcription in a GUI with Python

How to create a script in Python that transcribes the speech, i.e. speech to text (STT), coming from my microphone in real-time and prints the text on a GUI? Some particularities: the STT engine (...
Pedro Borghi's user avatar
0 votes
0 answers
56 views

Chartjs-plugin-zoom drag option doesn't work

Using Chart.js with chartjs-plugin-zoom and chartjs-plugin-streaming the drag option shows the selected area but doesn't resize. The wanted effect is to select a specific area and view only the ...
Roberto Marchesi's user avatar
1 vote
5 answers
148 views

How to calculate cumulative geometric mean?

I'm looking to calculate cumulative geometric average, with O(1) space, where the input is a stream of unknown numbers. Batch = 1. I have this example that is close enough to the problem I'm trying to ...
Loc's user avatar
  • 17
0 votes
0 answers
89 views

Writing to Virtual Audio Cable via Python (PyAudio, Sounddevice)

I am trying to write data to a virtual audio cable using python. So far I don't really care which module I use, so I tried PyAudio and Sounddevive. I installed the Virtual Cable from VB-Audio. It does ...
JRolfes's user avatar
0 votes
1 answer
37 views

What are Ably Presence action numbers?

So I'm pushing Ably Presence events to a lambda function via Ably Firehouse. Logging the event on lambda, I see the presence actions are represented by numbers and not action names (leave, enter...) ...
Justice Mba's user avatar
1 vote
2 answers
135 views

On a microcontroller, is it possible to use polling to read the serial port without losing incoming data?

On a microcontroller, is it possible to use polling to read the serial port without losing incoming data? Assume my MCU has a 1 byte HW buffer for the UART. At 115200 baud, that means I have about ...
SRobertJames's user avatar
  • 8,611
0 votes
1 answer
31 views

Acquiring sensor data with a raspberry pi in the kilo samples per second range

I have a raspberry pi and a spi sensor acquiring data at a rate of that could vary between 2kS/s and 20kS/s. My goal is to get that data and push it on a MQTT server that will be displayed in real ...
user3044142's user avatar
0 votes
1 answer
72 views

How to stop operating system's interrupts for python code that executes a real-time process on both Mac and Win

I have an experimental setup that should run in real-time. It includes several devices that are controlled by a single laptop. Due to operating system's interrupts, some of the devices don't activate ...
DmitryP's user avatar
  • 29

1
2 3 4 5
92