FAQ Database Discussion Community


What does it mean when one language is a parallel superset of another?

c++,c,concurrency,programming-languages,real-time
I'm reading a journal article about Real-Time Concurrent C, and it mentions in the abstract (so any of you can see the context through that link as well) that "Concurrent C, is a parallel superset of C (and of C++)". Now I know what a superset is, but what do...

Embox compilation and flashing

c,linker,operating-system,real-time
I am interested in attempting to compile, package and flash Embox to an MCU, from either a Windows or Mac machine (cross-compilation), via JTAG, and I have a number of concerns. Observe what I believe to be the normal way of writing Embox apps and deploying/flashing them to an MCU:...

What technologies should I use to create a real time One to One chat?

chat,real-time,scale
I'm a PHP developer with a lack of experience on other sever side langages. I’d like you to give me leads, advice, keywords or whatever that could help me refine my research better. What I want to do is basically to create a one to one mobile app chat that...

NSTimer update in real time?

ios,swift,timer,real-time,nstimer
I have an NSTimer and I want to update a label in real time which shows a timer's time. The following is my implementation of how I came about doing so: override func viewDidAppear(animated: Bool) { self.refreshTimer = NSTimer.scheduledTimerWithTimeInterval(1.0, target: self, selector: "refreshView:", userInfo: nil, repeats: true) var currentRunLoop =...

Django: Real-time logging to browser

django,echo,real-time
In PHP, I used to be able to use the echo command and see scripts in real time. For example: Applying settings to 001... * a second later * Applying settings to 002... This would be shown to the user in the browser. Is there anyways I can use a...

In Java how to read the latest string of constantly generated stream fast?

java,stream,real-time
In Java I have a process constantly generating output. Of course it's placed into some buffer of the out stream (FiFo) until it's processed. But what I need is sometimes read the latest, actual string of the stream as if it was LiFo. The problem is when I need it,...

How to integrate Excel =RTD() function in python

python,excel,com,real-time
I am using a real-time-data from a proprietary application which provides real time weather data. All I know know from the data is, it provides a link to import to excel as: =RTD("4cast.wetter",,"city","parameter") This parameter includes Temperature, Humidity, Wind speed, Rain fall etc. I tried reading the support link provided...

Real time Integer/Binary programming (microSecond compute time)

real-time,knapsack-problem,integer-programming
My binary programming problem is: max: (a1 * x1) + (a2 * x2) + ..... + (an * xn) subject to: (c1 * x1) + (c2 * x2) + ..... + (cn * xn) < C n = 10 a1, ... an, c1, ... cn, C are known x1, ......

EXE_BAD_BADACCESS trying to access GKMatch?

cocos2d-x,real-time,game-center,invite,gkmatchmaker
The Problem In Brief Trying to play with a friend in real-time using gamecenter causes a crash during gameplay Project Details I am using gamecenter with cocos2dx I am using the SANDBOX mode: Both accounts being tested are in sandbox mode 2 Ipads are used for testing (IOS 8.3) I...

How do I define a search term box to search for a user's specific timeline using a Twitter stream API and meteor.js

javascript,mongodb,twitter,meteor,real-time
Hi there I currently have a twitter stream npm package called twit retrieving a specifc users timeline and storing those tweets and pictures in arrays. var x = []; var y = []; var z = []; var imageUrl ; var result; var Stringify; if (Meteor.isServer) { var Twit =...

Facebook real time page update php

php,facebook,facebook-graph-api,real-time,subscription
this is my first question to stackoverflow, so if's something wrong please advise.. Well the problem is Facebook real time updates : I have successfully created subscription to page and it's admin user ( test page and test app created ), user has agreed permissions to manage_page, read_stream, read_friendlist, read_insights,publish_actions...

Talking to Prepar3d/Microsoft Flight Simulator from *nix

linux,unix,real-time,simulation
Is there a way to talk to Prepar3d/MSFS without using the SimConnect api so that I can do it from a *nix/any environment by doing something like opening a socket and talking XML? Is there a build of SimConnect that can be used on *nix enviroments?...

EnergyMicro and EZradio Pro (Si4463)

embedded,real-time,radio,rt,efm
I cannot find the solution for my problem. If somebody has worked with Si4463 radio module? According to the datasheet, it must be simple, but I cannot make it work consistently. My transceiver sends data once each second. 1 byte preamble + 2 bytes sync + 7 bytes data +...

How to embed real-time tracking webpage livefromspace.com

javascript,html,embed,real-time,webpage
How do I embed the entire real-time tracking site, livefromspace.com? When I go to livefromspace.com, there is no option to Share > Embed Code to copy to webpage I have tried googling a solution to this, and even posted on Web Development site, but they put it on hold, even...

What could be delaying my select() call?

c,linux,real-time
I have a small program running on Linux (on an embedded PC, dual-core Intel Atom 1.6GHz with Debian 6 running Linux 2.6.32-5) which communicates with external hardware via an FTDI USB-to-serial converter (using the ftdi_sio kernel module and a /dev/ttyUSB* device). Essentially, in my main loop I run clock_gettime() using...

How can I take real time data from a web site using NetLogo?

real-time,netlogo,agent-based-modeling
We are trying to let NetLogo take the real time data, but we didn’t found any threads helpful online that tells how. We used historical stock price data to train our agents in the first stage. After the end of the training phase, we would like to use real time...

Real time trajectory plotting - Matplotlib

python,matplotlib,plot,real-time
I want to plot a trajectory using matplotlib. In each iteration of a program I wrote, I obtain the x and y coordinates of an object. I would like to draw the movement of this object on an xy graph. I used the following code: import matplotlib.pyplot as plt from...

Can we use gevent.sleep() for precise timings?

python,real-time,embedded-linux,gevent
Can we use gevent.sleep() anywhere in our application or gevent.monkey.patch_time() on any third party libraries without an issue, especially precise timings takes place? For example, some libraries use time.sleep() function in order to measure a couple of microseconds that is used to control an embedded (dot matrix LCD and such)...

Dynamic x-axis on a real-time flot chart?

javascript,jquery,charts,real-time,flot
Is there a way to update the x-axis on a real time flot chart? I want something like this -> (http://www.flotcharts.org/flot/examples/realtime/index.html) but as you can see, there are no values on the x-axis.. So, is there a way to shift the x-axis values as the chart shifts? Thanks in advance!...

Firebase for non real-time app [closed]

firebase,real-time
I was thinking if it make sense to use Firebase for a non real-time app. Is there some other service that allows you to store a json and retrieve it as a RESTful API?

pubnub realtime notification

php,notifications,real-time,pubnub
I am working on a trading site which allows copy trading feature (that is, a trader copying me will get a trade copied into his account when I do a trade). Now when I do a trade, the trader who is copying me needs to get a realtime notification about...

Pubnub Access Management with Python

python,django,webserver,real-time,pubnub
I am trying to use Pubnub Access Management with Python by I always get an error message saying that the 'Signature Does not Match'. I know their documentation says that this means that the Secret/Publish/Subscribe keys may be wrong but I have triple checked that they are correct. Also checked...

Detect custom shape OpenCV

opencv,real-time,shape,detection
I want to find custom shape in OpenCV. Shape is previously defined.I want to detect shape is equal or not equal using WebCam in real time. How can I do that?How to compare pre-defined custom shape and current shape?

my Tornado chat is losing messages

chat,real-time,tornado
i am losing messages in my tornado chat and i do not known how to detect when the message wasn't sent and to send the message again there is any way to detect when the conexion get lost? and when the conexión restart send the message this is my code...

How to restrict time Linux takes for an action?

c++,linux,time,raspberry-pi,real-time
Question can look blurry since it's hard to describe a problem in one line so here it goes. I use Debian on Raspberry Pi to run a PID regulator which means dt(time difference between loop executions) is obtained every time PID output is calculated. Basically dt is calculated like this....

Creating a real-time chat with Python and websocket

python,websocket,chat,real-time
I'm writing a python real-time chat feature embedded in a web app. I'm a little bit confused on the real time implementation. I need to push real time message to different users. I plan to use websocket but I'm not quite sure how to save those sockets into an array...

Spark Streaming RDD with a list of previous values

scala,apache-spark,real-time,spark-streaming
I'm not really sure how to do this with Spark Streaming, it is really giving me a headache. I have an input stream of some users, for example User1, User2, etc with some parameters, which are not important for now. Then I do some processing on those parameters and get...

Storing information of last frames in real time video acquisition MATLAB

matlab,image-processing,real-time
This code processes a video in real time through a webcam in Matlab. For each frame, I perform some operations and the final result is 'degrees'. I need to store the result of degrees for, let's say, the last 15 frames, and check that they are all in the same...

Scaling a decoupled realtime server alongside a standard webserver

python,websocket,real-time,scalability
Say I have a typical web server that serves standard HTML pages to clients, and a websocket server running alongside it used for realtime updates (chat, notifications, etc.). My general workflow is when something occurs on the main server that triggers the need for a realtime message, the main server...

How many records / rows / nodes is alot in firebase?

database,firebase,real-time,records
I'm creating an app where i will store users under all postalcodes/zipcodes they want to deliver to. The structure looks like this: postalcodes/{{postalcode}}/{{userId}}=true The reason for the structure is to easily fetch all users who delivers to a certain postal code. ex. postalcodes/21121/ If all user applies like 500 postalcodes...

Show height change in real time

jquery,css,real-time
I just wrote a script that returns a div's height compared to it's parent into percentage. I just need to find a way to display that height change in real time while animating the change. This is what I have so far: jsFiddle JS: var full = $('#wrap').height(); var value...

Python real time screen processing [closed]

python,real-time,ocr
I would like to process my screen in a real time. Is there some real time OCR library for python, that I could use? Or is there some better technology that I could use?...

Using sockets to build real time chat for iOS?

ios,objective-c,sockets,chat,real-time
If I wanted to build a real time chat app for iOS using Objective-C, what would be the best way of going about it?

Leaflet Realtime GeoJSON dynamic marker color change

javascript,real-time,leaflet,geojson
I have a map built with Leaflet which displays markers from a GeoJSON using Leaflet-Realtime plugin and Leaflet-awesome-numbered-marker plugin. However I noticed that the markers color doesn't change dynamically, but it changes if I reload the page. Here's the code so far: var map = L.map('map', {center: [46.7634, 23.5996], zoom:...

Improve RAM usage behaviour to avoid lags

c#,.net,performance,memory,real-time
We have a problem which seems to be caused by the constant allocation and deallocation of memory: We have a rather complex system here, where a USB device is measuring arbitrary points and sending the measurement data to the PC at a rate of 50k samples per second. These samples...

Telling nohup to write output in real-time

bash,output,real-time,nohup
When using nohup the output of a script is buffered and only gets dumped to the log file (nohup.out) after the script has finished executing. It would be really useful to see the script output in something close to real-time, to know how it is progressing. Is there a way...