real-time

Sun Java Realtime System on VirtualMachine / cloud

走远了吗. 提交于 2019-12-22 01:14:33
问题 Just wondering if anybody can run/compile application for Sun Java Realtime system JRE on a VM such as VMWare or on the Cloud such as on Amazon EC2 ? I know it is not ideal running Realtime java on a virtualized infrastructure, but it makes things easier. (Otherwise I just have to install SLES SP2 on physical hardware.) 回答1: If you are talking about Java RTS, then there is little chance that you will get decent realtime behavior on a virtual machine of any kind. In fact, the webpage says that

Socket IO fails to connect within corporate networks

久未见 提交于 2019-12-21 23:15:29
问题 I am just getting to grips with socket.IO and nodeJS. Got my web app working ok with them. I then got a friend to try it out at work on an office machine and found that it failed to connect. I set up these two test cases: http://thebeer.co/labs/rt/chat.php (server JS here) - This is an exact copy of the socket.IO chat example. http://thebeer.co/labs/rt/test.php (server JS here) Both of them fail for him. I also got a friend to try on a University computer and that too failed to connect! I've

How to find average intensity of OpenCV contour in realtime

早过忘川 提交于 2019-12-21 12:11:34
问题 I have a image with about 50 to 100 small contours. I wish to find the average intensity[1] of each of these contours in real-time[2]. Some of the ways I could think of was Draw contour with FILLED option for each contour; use each image as a mask over the original image, thus find the average. But I presume that this method won't be real-time at first glance. Study OpenCV implementation of drawContour function with the FILLED option and access the pixels enclosed by the contour in the same

How do I gracefully interrupt urllib2 downloads?

怎甘沉沦 提交于 2019-12-21 06:56:04
问题 I am using urllib2 's build_opener() to create an OpenerDirector . I am using the OpenerDirector to fetch a slow page and so it has a large timeout. So far, so good. However, in another thread, I have been told to abort the download - let's say the user has selected to exit the program in the GUI. Is there a way to signal an urllib2 download should quit? 回答1: There is no clean answer. There are several ugly ones. Initially, I was putting rejected ideas in the question. As it has become clear

How to store real-time chat messages in database?

瘦欲@ 提交于 2019-12-21 04:49:23
问题 I am using mysqldb for my database currently, and I need to integrate a messaging feature that is in real-time. The chat demo that Tornado provides does not implement a database, (whereas the blog does .) This messaging service also will also double as an email in the future (like how Facebook's message service works. The chat platform is also email.) Regardless, I would like to make sure that my current, first chat version will be able to be expanded to function as email, and overall, I need

Linux Interrupt vs. Polling

女生的网名这么多〃 提交于 2019-12-21 03:55:12
问题 I am developing a system with a DSP and an ARM. On the ARM there is a linux OS. I have a DSP sending data to the ARM (Linux) - In the Linux there is a kernel module which read the data received from the DSP. The kernel module is waking up to read the data, using an hardware interrupt between the DSP to the ARM. I want to write a user space app, that will read the data from the kernel space (The kernel module) each time there's a new data arrived from the DSP. The question is: What is better

Android: Real time android application design

扶醉桌前 提交于 2019-12-21 02:47:07
问题 I'd like you to help me to choose the right technology that fits my requirements with least costs. The android app needs to constantly send the data back to server (The data like heartbearts), as well as constantly receive the feedback data from server (Real-time data, streaming) The data type can be number, text, or even graph. I'm now looking at three technologies MQTT stomp+orbited XAMPP I'm not familiar with any of that, please give your suggestions, thank you. 回答1: Realtime bi-direction

WPF charting/visualization of realtime data

不羁岁月 提交于 2019-12-20 19:42:03
问题 I've been trying to figure out what is the appropriate way to render real-time data as a line graph in WPF. And by real-time I actually mean, data that is being collected from a USB device that generates data at a rate of approximately 40Hz. There are multiple (up to 7) streams of data that I'm reading at 40Hz in an asynchronous fashion. I've tried using two off-the shelf solutions (WPF Toolkit charting and Swordfish charts) and almost looked into the Dynamic Data Visualization component but

ARP Timeouts. Why fixed periodic?

久未见 提交于 2019-12-20 14:41:07
问题 This one's been bugging me for years. Basic question: Is there some reason ARP has to be implemented with fixed timeouts on ARP cache entries? I do a lot of work in Real Time ciricles. We do most of our inter-system communications these days on dedicated UDP/IP links. This for the most part works reliably in Real Time, but for one nit: ARP entry timeouts. The way typical implementations do ARP is the following: When client asks to send an IP packet to an IP address with an unkown MAC address,

Building a SignalR / Knockout dashboard with guaranteed messaging

风流意气都作罢 提交于 2019-12-20 12:36:29
问题 I'm looking into replacing a monitoring dashboard at our company using real-time messaging. The Old Concept: At our company we have a dashboard that displays the (rather detailed) status of over 700 physical machines, plus added meta-information. It was built about 1,5 years ago by a colleague of mine in ASP.NET Web Forms (which I don't like) to enable dispatchers to coordinate where our technicians should go to fix problems (the machines are located in various geographical locations).