real-time

What is the best way to fetch RSS, in real time or almost.

I would like to know what's the best way to fetch RSS feeds in real time without having to download the entire feed even when it hasn't been changed. I don't really mind the language, I'm just looking for the best way to do that. ...

What makes Erlang suitable for soft real-time applications?

Some background I'm working on building a programming language for digital media programming, which should support concurrency using no-sharing message passing and soft real-time (i.e. do your best to compute audio/video without losing samples or frames and with a constant throughput). It turns out that both these features are surprisi...

WPF Drill-down GridView to display live data

I'm writing a monitoring system that displays real-time sensor data. The sensors are arranged in a hierarchy. Sensor 1 could, for instance, have S1.1 and S1.2 as children, which could in-turn have S1.1.1, S1.2.1, and so forth. I'm looking for a GridView control that allows one to drill-down each parent item, while still refreshing the ...

Good real-time programming books for beginner's questions

I find myself in a situation where I need to work on a embedded, real-time system at work without much prior knowledge. I've done a fair amount of research online, but found nothing satisfactory, so I'm now turning my attention to books. I've seen this StackOverflow page but I'm not sure if the books that it points to are what I'm looki...

Using TCP for real-time commands: Nagle arithmetic causes huge delays, what should I do?

I'm writing a socket server and flash game client. The game requires real-time commands such as movement and turning. It is important for these commands to be sent by the server to the client as soon as possible because the other clients will otherwise desynchronise a lot with the moving/turning client. This is an example of the problem...

Displaying data in real-time on web page

I'm not sure how to phrase it the best way, but what I'm looking for is a way to display data on a web page as it becomes available. Examples: Displaying IRC channel messages on a web page, as a message is sent to an IRC channel, the message is outputted to the web page at the same time (or with very little delay). Or when data is insert...

ViewModel tree vs. frequently updating Model tree

In my WPF MVVM application my model is a complex tree of Model objects wich constantly changes at runtime. Model instances come and go at runtime, change their position within the tree and of course change their many properties. My View is almost a one-to-one visual representation of that tree. Every Model instance is in 80% of the cases...

How to create a page which gets real time updates from PubSubHubub

I want to know if it is possible to use javascript/html or php, etc... to create a page that receives continuous updates from a feed that uses PubSubHubub? How can I do this? I am new to this, and any tips would be helpful. ...

Real-time game networking libraries for games in Java and Objective-C

I'm looking to build real-time games built using a dedicated Java server and iphone clients as well as Java desktop clients. What available high-performance network transport libraries that could be used for real-time multiplayer game development, exist for Java and iphone (specifically reliable UDP)? The general advice for most real-ti...

Is it possible to create an IM chatting service on the cloud?

Is it possible to Google App Engine or Amazon EC2 to create a chatting tool that is (obviously) real-time? The motivation is avoiding setting up servers, and dealing with spikes in demand. Are there any open-source tools for this? With Amazon EC2 or others, is it possible to set up something that has push-notifications enabled (COMET...

AJAX and prediction of actions.

Hello, I'd like to ask your opinion on this. This is a theoretical question. I'm in a situation where I have an interface shown to a user that uses AJAX to talk to the server. The server-side language does not matter here. I have a form with fields and each of them are deletable. If the user selects a few "delete" -checkboxes and press...

Is mq_send atomic?

Hi, can anybody tell me what happens if multithread program receives SIGSTOP signal during execution of mq_send? ...

How do you do real time document tracking?

I was considering diff Document Tracking options and came across DocTracking.com. DocTracking.com allows you to upload documents (PDF Word etc) and adds some kind of invisible tracking to it and returns the document to you which can then be used just like you would use the document otherwise. This tracking tells you when your documents w...

Garbage Collector in Real-Time System

I'm new to C#/Java and plan to prototype it for soft real-time system. If I wrote C#/Java app just like how I do in C++ in terms of memory management, that is, I explicitly "delete" the objects that I no longer use, then would the app still be affected by garbage collector? If so, how does it affect my app? Sorry if this sounds like an...

controlling program execution

I am writing small debugging program for multithread apps. My idea is to run the target, that is being debuged for for example 100 nanosecs, then pause and examine its memory. However this ( just pseudocode ) nanosleep(100); //sleep debuger for 100 nanosec and let a program run kill(target_app_pid, SIGSTOP); //stop target ap...

Real time with Rails

Hi, I'm looking for a good way to implement real time feed for my users on a Rails app (Phusion passenger server). Each feed can be different depending on the user and I expect to have one new item every 20 - 60s. Periodic ajax request doesn't look like the best way to do it for me. I heard about Comet and I thought about having someth...

Realtime Web Search (in .Net)

Hi, How would you guys go about creating a "real-time" search engine on .Net platform. Near real-time search of the web is so popular nowadays and I was hoping you guys would help me brainstorm some ideas. I might try to make some prototype eventually, but mostly it is just a "mental training". The requirements are: .NET platform, I...

Real-time graphs

Do you know of a graphing library similar to Google's Annotated Timeline( http://code.google.com/apis/visualization/documentation/gallery/annotatedtimeline.html) that can be updated in realtime with new data points? Either javascript or flash is ok. Thanks! ...

Real time collaborative use interface on the web

I'm wondering what the technologies and best practices are behind real time collaboration in web interfaces. An example of this is of course Google Wave. Another is PivotalTracker.com. I'm particularly interested in any work (frameworks, plugins, etc) people are doing with Ruby on Rails here. I imagine it would have to use Javascript...

Updating on screen count as javascript code runs.

Hey, I've just started learning JavaScript and I'm making a little script that generates two numbers, the first number stays the same but the second number gets regenerated if it doesn't match the first number. Here is my script: function randomNumberMatcher(){ $(document).ready(function(){ var number1 = Math.floor(1000000*Mat...