real-time

twitter / maps mashup - general process sugestions?

I'm supposed to make a maps twitter mashup by monday. anybody have a smart thought as to how to make it go? My issue: you can get a feed of all tweets on a subject with the search API, but It doesn't seem like there is a way to get the search API to spit out user locations with the tweets. is the best way to do it really to: get the...

charting platform

Looking for options for a live, large data set charting platform to deal with large quantity of constantly evolving data and display it via browser in an usable manner. Would need to be based off of a DB backend vs. the "reads XML file" approach of some of the Flash apps. ...

Recommended .Net soft real-time

I'm interested in getting comprehensive information about soft (hard too) real-time application in .Net 3.5/4 Winforms mainly (WPF perhaps). Google results for the thing are quite poor - some quides on parallelism only ... the question is how could I for example write a real-time patient-health monitoring client for some medical applianc...

<100uS accurate sleeps on Windows CE

Is it possible to sleep for an amount of time that will be accurate to less than 100 microseconds on Windows CE? The less jitter the better - ideally we'd like single digit microsecond response times. What we really want is a 5ms timer with very low jitter - although the Windows CE WaitFor[Single|Multiple]Objects and Sleep APIs work in ...

Monitor process standard output that does not necessarily use CR/LF

My application periodically starts console programs with process.start. I need to monitor the output of the programs in "realtime". For example, the program writes the following text to the console: Processing................. Every second or so a new dot appears to let the user know the program is still processing. However,... until ...

(ASP.NET) How would you go about creating a real-time counter which tracks database changes?

Here is the issue. On a site I've recently taken over it tracks "miles" you ran in a day. So a user can log into the site, add that they ran 5 miles. This is then added to the database. At the end of the day, around 1am, a service runs which calculates all the miles, all the users ran in the day and outputs a text file to App_Data. ...

How do I zip on the fly and stream to Response.Output in real time?

I am trying to use the following code: I get a corrupted zip file. Why? The file names seem OK. Perhaps they are not relative names, and that's the problem? private void trySharpZipLib(ArrayList filesToInclude) { // Response header Response.Clear(); Response.ClearHeaders(); Response.Cache.SetCa...

Testing Real Time Operating System for Hardness

I have an embedded device (Technologic TS-7800) that advertises real-time capabilities, but says nothing about 'hard' or 'soft'. While I wait for a response from the manufacturer, I figured it wouldn't hurt to test the system myself. What are some established procedures to determine the 'hardness' of a particular device with respect ...

Real time chat implementation for SharePoint

I have a client interested in a real time chat application for a SharePoint intranet portal to enable online interview style chat sessions. Has anyone got reccomendations for a product on the Microsoft Stack that does this? Something that is integrated into SharePoint would be prefferable, but any ASP.NET product would suffice. The sol...

Is there a good method to get up-to-date financial data as a stream to feed an application?

I'm pretty sure no one has ever written an application to analyze financial data (sarcasm). Regardless, I'm considering writing one for fun and need a way to access (1) large amounts of historical data and (2) real-time fluctuations in stock prices etc... (my finance jargon is weak). Is there an API (free or pay) that I can hook into t...

Refactoring policy for real-time code for critical system

I'm working in a company which produce real-time C program for home-made hardware, the program is 15-years old, and still need to be maintained. Even though we do not verify manually the code, We have a strict no-refactoring policy. Even if a certain code is hard to grasp, or have many clear code smells, you must make minor changes to i...

Determining deterministic thread execution of a Java program

I wrote a very simple toy program to complete the execution of a task inside a thread as per the timing requirements specified by a user. The code and the sample output is below. What happens is that everytime you run the code, the task completion times would be within a + delta range of the time specified by the user. For e.g if the use...

Using Haskell for sizable real-time systems: how (if?) ?

I've been curious to understand if it is possible to apply the power of Haskell to embedded realtime world, and in googling have found the Atom package. I'd assume that in the complex case the code might have all the classical C bugs - crashes, memory corruptions, etc, which would then need to be traced to the original Haskell code that ...

live market price of precious metals like gold,silver,platinum etc.

Is there a free web service, RSS or something where I can get the USA's quotes of live market prices of precious metals like gold,silver,platinum etc. I do not want a paid service to get those details. I wish to write a mobile application and I will have those values read into the application and do further calculation and even sell tho...

Run process with realtime output in PHP

Hi, I am trying to run a process on a web page that will return its output in realtime. For example if I run 'ping' process it should update my page every time it returns a new line (right now, when I use exec(command, output) I am forced to use -c option and wait until process finishes to see the output on my web page). Is it possible ...

How do the protocols of real time strategy games such as Starcraft and Age of Empires look?

Hello, I'm interested in how the protocols (and game loop) work for these type of games; any pointers or insights are appreciated. I guess the main loop would have a world state which would be advanced a few "ticks" per second, but how are the commands of the players executed? What kind of data needs to go back and forth? ...

What is scheduling jitter?

I've been reading a paper on real-time systems using the Linux OS, and the term "scheduling jitter" is used repeatedly without definition. What is scheduling jitter? What does it mean? ...

C# Real Time Try Catch

I'd like a response from someone who actually does real-time programming in C# or who really understands the language internals. I know that exceptions should not be used to handle normal processing, but only to detect error conditions. There is plenty of discussion on that topic. I'd like to know if there is any run time slow-down fr...

Realtime with PubSubHubBub

Hi All I'm trying to implement real time chat engine with PubSubHubBub as the core in Rails. My question is what I need to do to or read to achieve this task ? Where I'm gonna start ? What knowledge do I need to know first because I'm really really newbie in this field and like to play with it... or are they any realtime chat engine tha...

Real time Alerts

Hi All, I am trying to produce a real time Alert system. I am not sure on how to quote this. Eg. I have a network sniffer that would be listening to the Packets. Let us say two packets come from the same machine stating that a Wrong password was entered into a NT System. Than I want to raise an Alert. Let us say a Failed Logon is follo...