real-time

WPF Real Time Multithreaded Stock Trading Application

Hi All I am building a real-time multi-threaded application in WPF, but i am having difficulties in updating the UI. I have a background worker thread that contains logic which determines what trades to send into the market. When a valid trade is sent to the market, i receive status updates on these trades via events in my main applica...

Rendering text with javascript in a loop - browser goes unresponsive

I have a piece of javascript that loops a number of times calculating stuff and it is supposed to output some text to screen every iteration, but instead it goes away for a long time and flushes everything at once to screen. There probably are known tricks to get the thing to iteratively update rather than hanging onto the output then f...

Streaming the state of a Python script to a website

Hello: I have a simple workflow [Step 0]->[1]->[2]->...->[Step N]. The master program knows the step (state) it is currently at. I want to stream this in real time to a website (in the local area network) so that when my colleagues open, say, http://thecomputer:8000, they can see a real time rendering of the current state of our workfl...

Can Justin.tv's Broadcaster API be used on Android or iPhone?

Justin.tv's Broadcaster API is Flash-based. Can this be used on Android or iPhone instead of a traditional computer? ...

Interrupt handling and transferring data from and to application code - low latency method theories

I have a Fibre Optic link, with a proprietary Device Driver and message format. The link goes into a PCIe card. Running on a RHEL 5.2 (2.6.18-128~) I have mmap'ed the interface on the card for setup and FIFO access etc, but cannot use this for interrupts as this should be done via the kernel-space interrupt routine (correct me if require...

How to reset Ada.Real_Time.Clock?

Hi, when reading Ada.Real_Time.Clock right after power-up it shows a value that isn't close to zero and sometimes even negative. As far as I know Ada.Real_Time.Clock suppose to reset on power-up. How can I reset Ada.Real_Time.Clock? Thanks. ...

Resource recommendations for Windows performance tuning (realtime).

Hi all, Any recommendations out there for Windows application tuning resources (books web sites etc.)? I have a C++ console application that needs to feed a hardware device with a considerable amount of data at a fairly high rate. (buffer is 32K in size and gets consumed at ~800k bytes per second) It will stream data without under run...

Programming on real-time system

My problem is understanding programming on real-time system. I'm confuse about this topic. What can I do and what I can not do in my source code? I know there are attensions to do during source code programming but I don't know exactly what. Some examples. Is possibile using dynamic memory allocation(new)? Is possible access to disk duri...

using C# for real time applications

Can C# be used for developing a real-time application that involves taking input from web cam continuously and processing the input? ...

Boost C++ Libraries: Unit Test Assertion on % Processor Usage

I'm writing a unit test with Boost.Unit, and the code I'm testing must not exceed 50% of a single CPU during a portion of the unit test. How could I make this assertion from within the source code? ...

Can someone describe the algorithm used by Ken Silverman's Voxlap engine?

From what I gathered he used sparse voxel octrees and raycasting. It doesn't seem like he used opengl or direct3d and when I look at the game Voxelstein it appears that miniature cubes are actually being drawn instead of just a bunch of 2d square. Which caught me off guard I'm not sure how he is doing that without opengl or direct3d. ...

What is the most efficient way to draw voxels (cubes) in opengl?

I would like to draw voxels by using opengl but it doesn't seem like it is supported. I made a cube drawing function that had 24 vertices (4 vertices per face) but it drops the frame rate when you draw 2500 cubes. I was hoping there was a better way. Ideally I would just like to send a position, edge size, and color to the graphics ca...

How to draw multiple objects using a VBO and a single OpenGL drawelements call?

I've read that it is possible to draw multiple objects using a vbo and using single drawelements call. I haven't found any examples of this. Right now I'm making a drawelements call per cube drawn which is killing my frame rate since I'm making the entire game out of them. Any help is appreciated, especially example code. ...

Get live market quotes on global indices

Hi, I need to connect to some sort of web service and get live data regarding global indices ( the DOW index, the S&P/TSX in Canada, the Hang Seng index in Hong Kong and so on ). I need to display this data on my website. I was wondering whether any of you know any organization that provides such stock/market/index information. I do ...

MongoDB for realtime ajax stuff?

Howdie stackoverflow people! So I've been doing some digging regarding these NoSQL databases, MongoDB, CouchDB etc. Though I am still not sure about real time-ish stuff therefore I thought i'd ask around to see if someone have any practical experience. Let's think about web stuff, let's say we've got a very dynamic super ajaxified weba...

Real time data display

Good day. An online ticketing engine is 'shared' by several ticketing sites. For example, tickets for one particular destination. My question is, how to display latest data in real time as to prevent overlapping or double-seating (one seat sold two times). Thanks. ...

jchart2d for displaying dynamic charts with fast updating data

I want to use jcharts2d to plot fast updating data. The examples for dynamic charts in their webpage use a dummy random function to simulate fast changing data, any ideas on how to feed data into the chart? thanks in advance ...

What constitutes a real-time system?

What constitutes a real-time system? How does one know if the program they are writing is properly termed, "real-time"? Note: I am asking this question because there is no wiki for the tag real-time, and I don't have the juice to edit the wiki, for some reason. Maybe one of you does, and can put a definition there... Folks use this t...

How to build real time application in java website

I want to build realtime application using java. The web application always request data to server every 10 seconds, and display the fresh data on the web page. do you have idea how to solve case like this ? ...

Displaying real-time graphics (.net 2.0)

This puzzles me for years, since MFC. We all know DC limitations in Windows, and I really want to break free from it this time. What I need is to be able to draw at some hWnd, i.e. control, at any time - from any thread, even using direct bit manipulation! Is there anybody that can shed some light to it. I prefer that question should...