• Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r4wp

[#Red] Red language group

Bo
12-Feb-2013
[5545]
Oh, I see he has a samples.zip file in that link you posted above.
DocKimbel
12-Feb-2013
[5546x2]
Right.
I will ask him for the latest version tomorrow.
Kaj
12-Feb-2013
[5548]
Very cool
Bo
12-Feb-2013
[5549x2]
This would be a good thing to add to the Contributions page on red-lang.org. 
:-)  (I looked there first for the OpenCV binding)
I wish I could work with Red instead of at my regular job. :-/
Kaj
12-Feb-2013
[5551x2]
I see it's another library that dug itself into a C++ hole
Compilation time seems to be reported modulo one minute or so, at 
least in the Red/System compilation phase
DocKimbel
13-Feb-2013
[5553]
Dyn-lib-emitter branch upgraded to match master.
Kaj
13-Feb-2013
[5554]
Cool!
DocKimbel
13-Feb-2013
[5555]
Now we need to make those Red functions callable from outside. ;-)
Kaj
13-Feb-2013
[5556]
No problem, I can just make a Red/System callback with a Red callback 
:-)
DocKimbel
13-Feb-2013
[5557]
I would like to add an #export option directly at Red level, with 
automatic argument marshalling...will be handier. ;-)
Kaj
13-Feb-2013
[5558]
No argument here :-)
DocKimbel
14-Feb-2013
[5559]
Branch `fix-385` merged in master.
DocKimbel
15-Feb-2013
[5560]
Added OpenCV to contributions page, François sent me the link for 
the latest version and says that it can be now used in production.

http://www.wuala.com/fjouen/Code/OpenCV/Red/
Pekr
15-Feb-2013
[5561x2]
Cool to see!
Btw - I noticed you tweeted about the LeapMotion - what's your first 
impression?
DocKimbel
15-Feb-2013
[5563]
François also did a binding for the DAQmxBase v3.6 lib that can be 
found here:
http://www.wuala.com/fjouen/Code/NI/Red/


This lib allows to drive data acquisition devices from NI: http://www.ni.com/data-acquisition/
Pekr
15-Feb-2013
[5564]
Ah, so cool, now I feel like Red is getting into embedded sphere 
:-)
DocKimbel
15-Feb-2013
[5565]
Leap device: huge potential, C++ drivers (!), only simple demos and 
basic testing tools available currently.
Pekr
15-Feb-2013
[5566x2]
C++ drivers - bad to wrap for us, no?
What would be also cool would be to bind to one of media frameworks 
- libVLC, ffmpeg, Libav, mplayer, Gstreamer, etc. - dunno which one 
is the best ....
DocKimbel
15-Feb-2013
[5568x5]
Yeah, significant extra work to interface with it. But there's a 
shortcut, a API is also available through a builtin websocket server, 
so you can access the device from your browser directly.
I'll write a websocket client for Red when we'll have networking, 
so I will be able to test it deeply.
My first impression was: we're half-way of the right interface, it 
lacks a force-feeback system. One of the demo allows you to manipulate 
a virtual cube with your fingers, but without force-feedback it feels 
incomplete.
So Leap device + feedback gloves would do real wonders!
Also, from the first tests, the device has some limitations, like 
loosing track of your fingers if you point them up or down. Not sure 
if it's a soft or hardware limitation.
Pekr
15-Feb-2013
[5573]
I wonder, what is inside. What exactly measures your fingers in the 
space? It is not camera based, is it? So what kind of sensor does 
it have, and how is that they are so precise? I do own Kinect, but 
it is far from being so precise ...
DocKimbel
15-Feb-2013
[5574x3]
IIRC, it's sensible to ambient light, so it's probably camera-based 
(but probably not only).
Infrared light + CCD cameras.
0.01mm precision in detecting position
Pekr
15-Feb-2013
[5577]
impressive ...
DocKimbel
15-Feb-2013
[5578x2]
It can also detect "tools" you're holding like pencils.
You can see a good demo here: http://youtu.be/ssZrkXGE8ZA
NickA
15-Feb-2013
[5580x2]
We have GOT to have access to that!  At this moment, there would 
be no better way to demo to people.
(Add a 3D API, and maybe Red could find a market in gaming)
Pekr
15-Feb-2013
[5582x2]
Doc - would it work from behind the glass? I mean - in front of Windows, 
projecting image on the window (with some foils like Vikuiti from 
3M). Because the guy at the video has it laying on table. And you 
also said, that it does not work, if you point your fingers up or 
down, which might mean - towards the device?
Imagina navigalbe on-glass systems - signage - https://www.youtube.com/watch?v=3RYMR2LMVmQ
NickA
15-Feb-2013
[5584x3]
Adding support for cutting edge hardware, and things like VOIP and 
Videoconferencing - anything that tends to be hard to accomplish 
using other development tools, would really help to set Red ahead 
of others, make it look fantastic, and give new developers concrete 
reasons to WANT to use it.
(Same reasons many of us were initially attracted to using VID and 
other REBOL features that made it so practical).
No one will be impressed with normal GUI, email, database capabilities, 
even if it's 10x more productive, but anything multimedia, video, 
3D, etc. which demonstrates "modern" capabilities, and beats other 
solutions, works on mobile, etc., then they're much more likely to 
go "hmmm".
DocKimbel
15-Feb-2013
[5587x2]
NickA: there are many domains where Red could shine, actually finding 
the right one, which fits the best, is the hard part. Supporting 
new and innovative hardware is surely a good thing to have anyway.
...if you point your fingers up or down, which might mean - towards 
the device?

 Yes, towards the device or away from it. It is supposed to be in 
 the device roadmap, but probably is not yet ready, like other early 
 announced features.
Pekr
15-Feb-2013
[5589x2]
NickA - I share your point of view. Ppl mostly nowadays think, that 
the web rules it all. However - it is still complex. I don't care, 
if we generate HTML5 (whatever it is) in the end, as far as we can 
very easily build apps using VID like dialect. I remember those initial 
days, where we had really a small script (1.6KB) to show image from 
4 webcams ...
I think, after all those years, we could have what Carl envisioned 
with REBOL/Media :-), it will be just called - Red :-) Wrapping stuff 
like video playback, camera access, HW like accelerometers, gyroscopes, 
GPS, along with dialected simplicity, would be nice acomplischement 
...
Bo
15-Feb-2013
[5591x2]
Regarding OpenCV:   Thanks!!
I agree, the Leap device is amazing!  Who's ready for a 3D operating 
system?
DocKimbel
16-Feb-2013
[5593]
Preliminary path! and set-path! support added to Red interpreter.

https://github.com/dockimbel/Red/commit/53f87ff81822e81c5ddf56245e68f8e6255c698b


Works only on series! so far, function calls with refinements are 
next on the todo-list.
Kaj
16-Feb-2013
[5594]
Good stuff!