Relative Content

Tag Archive for real-time

easiest way for push notifications

I wanted to implement real time push notification to one of the apps written in RoR. I don’t have any experience with nodejs, nowjs, express or socketio.

Floating point undesirable in highly critical code?

Question 11 in the Software Quality section of “IEEE Computer Society Real-World Software Engineering Problems”, Naveda, Seidman, lists fp computation as undesirable because “the accuracy of the computations cannot be guaranteed”.

How is time calculation performed by a computer?

I need to add a certain feature to a module in a given project regarding time calculation. For this specific case I’m using Java and reading through the documentation of the Date class I found out the time is calculated in milliseconds starting from January 1, 1970, 00:00:00 GMT. I think it’s safe to assume there is a similar “starting date” in other languages so I guess the specific implementation in Java doesn’t matter.

Multitasking in C#

I would like to use a timer in my C# program with millisecond accuracy to keep a camera in sync with some events and keep shooting a picture every 250ms (or 1/4 sec, or I might adjust it to even shorter times like 200ms or 100ms). The normal timer event can be used for this.