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

World: r4wp

[#Red] Red language group

Kaj
4-Jun-2012
[442x6]
You'll have to research the CGI interface a bit and maybe make it 
like the REBOL one. It's quite simple: you need standard output, 
which is just printing, standard input, and reading environment variables
Printing is included in Red/System. Reading environment variables 
is in my C library binding. The only problem is standard input. I 
think it can be bound on Windows to platform specific functions, 
but on Unix platforms it requires importing the standard file descriptor 
data, which Red/System can't do yet. So that would be the only limitation 
to wait for here, but it can already be done on Windows
Moving up, you could write a FastCGI server that would solve that 
problem and would also be more performant
Another option would be writing an Apache module in Red/System. I 
think that would require producing a plug-in as a shared library. 
The Red/System linker can't do that yet, so that would be another 
one to wait for
I think the FastCGI server is doable now. Instead of writing a complete 
one, you could probably also find a library written in C and bind 
to it
If you want RSP templating with that, you'd have to port one of the 
REBOL versions to Red. If you want it to be close to the REBOL version, 
you'd have to wait for Red for that, but you could also write a simpler 
version in Red/System
DocKimbel
6-Jun-2012
[448x2]
@Marco: I don't see any simple way to speed up updates for now, but 
if you have propositions, I'll be glad to review them.
@Graham and others: I should have wrote you earlier about what I 
am currently doing instead of leaving you with no info, sorry for 
that, I was very busy these last weeks, with both real life events 
(good ones ;-)) and a new customer from which I accepted a short-term 
job to help pay the bills. The contributions I've received so far 
*are* helpful and I can't thank enough all the people that made donations! 
But their are not enough to cover all my expenses here, if I could 
get 3-4 times more from donations, that would be perfect, but as 
long as the userbase won't be larger I think that it won't be  possible.


So I've accepted a short contract (til end of june) to build a trading 
bot generator with a visual editor (GUI in View) that emits MQ4 language 
source code for feeding the Metatrader4 application. Of course, I'm 
building it in REBOL (Red not ready yet for that). The plan was to 
work part-time on it and part-time on Red, but these last two weeks 
I had to work almost only on that project. I still have a few days 
of intensive work on it, then I'll switch to part-time.


I have quite a lot of code to commit (the Red compiler), but I'll 
wait to finish first the internal modifications in Red/System (to 
ease the integration with Red) before publishing it.
james_nak
6-Jun-2012
[450]
Thanks for the update.
Kaj
6-Jun-2012
[451]
Good news for Red's sustainability
GrahamC
7-Jun-2012
[452]
got to pay the bills first for sure
Pekr
7-Jun-2012
[453x3]
Doc - thanks for posting a status update - that's what we asked for 
- being informed, no push on you to hurry the release. This is exactly 
what we expected from Carl, kind of honest message to the few in 
community, describing the reality. The worst thing is information 
embargo.
Pity there's not more donations, simply put our community is not 
large enough, yet, to gain 300-400 EUR/month, which would pay your 
bills. I will continue to donate, as my bills will allow me to ....
I hope we will gain more ppl looking into Red, I am warming up with 
BeagleBone, so I hope we can show something to the community in half 
a year. But right now, even my priorities are shifted - LED screen 
business, marketing company, photo studio, etc ...
Henrik
7-Jun-2012
[456]
I've tried donating a couple of times, but Paypal won't let me. I'm 
a bit weary of using bank transfers.
Endo
7-Jun-2012
[457]
Doc: Sometimes working on a project is good, your brain still thinks 
on Red in background I'm sure, so short breaks are not bad, they 
make your ideas more mature. Thanks for sharing the status.
DocKimbel
7-Jun-2012
[458x3]
Pekr: right, 400 EUR/month would be enough. 


I believe that the Raspberry pi board has a huge potential, we should 
try our best to support it and build tools for it in Red.
(I'm still waiting for mine to be delivered)
Endo: true, but I've found the perfect way to keep my mind fresh, 
I go on hiking in mountains here almost each Sunday.
Endo
7-Jun-2012
[461]
Each sunday?? I able to do it here once or twice a year! jealous 
:(
Pekr
7-Jun-2012
[462]
So Doc - do you expect anything being released let's say for the 
July/August?
DocKimbel
7-Jun-2012
[463]
Endo: I'm living surrounded by mountains, so it's very close, as 
the temperature climbs very high (from 30°C up to 45°C) here on June/July/August, 
I can enjoy the fresh air on the summits. So I can go by bus (very 
cheap) or just hitchhike, it costs me almost nothing.


Pekr: for July, certainly, I expect to start commiting again in the 
next days, probably on monday.
Arnold
7-Jun-2012
[464x2]
I somehow had the idea you lived in/near Paris. I must relocate you 
elsewhere, mountains nearby and cost of living only 400 euro's a 
month. (including the ski-pass in the winter sure thing) :-)
Oh by the way, thanks for the update! Success with the contract!
DocKimbel
7-Jun-2012
[466]
I used to live in Paris, six months ago I moved to Podgorica, main 
city in Montenegro, where life is much nicer and cheaper than Paris. 
One of the main reason is being able to continue working on Red. 
Ski-pass in the winter is about 15€/day.
Pekr
7-Jun-2012
[467]
OpenCV binding coming, cool! I looked into the project several times 
- allows to have camera tracking implemented into your app ...
Jerry
11-Jun-2012
[468]
I made a donation to Red Project via PayPal, and 10% (50 Euro) of 
my payment was missing (excluding any fees). I made a phone call 
to PayPal to find out why they "swallowed" my money, They checked 
the records and told me indeed 10% was gone, and they were not sure 
why. They gonna investigate it and give the the answer. Well, How 
luck I am that I check with Doc, or the money is just gone. Shame 
on PayPal.
DocKimbel
12-Jun-2012
[469]
Quite incredible that they can loose money like that during a transfer...
Pekr
12-Jun-2012
[470]
Hmm, then I hope Doc, that you always receive 50 EUR, when I send 
the donation? I would be surprised, if it was lower amount of money, 
and would have to use wire-transfer instead of the PayPal in such 
a case ...
DocKimbel
12-Jun-2012
[471x2]
Pekr: yes, I always check. First time I see such kind of issue with 
donations through PayPal.
Float32! to integer! conversion routine for Red/System: https://gist.github.com/2919931
(requires the last commit from today from master branch)
Pekr
13-Jun-2012
[473]
great, some commits again :-)
Endo
13-Jun-2012
[474]
Great!
james_nak
13-Jun-2012
[475]
Thanks Doc.
Gerard
13-Jun-2012
[476]
While dreaming about the next best thing coming from the Red community 
... here are some IDEs for ARMs processors http://www.ti.com/lsds/ti/dsp/support/dev_tool/ccs_overview.page
 and then some emulators and analyzers http://www.ti.com/lsds/ti/dsp/support/emulator_analyzer_overview.page
Rebolek
14-Jun-2012
[477x3]
I've tried running Red/System on my Synology USBstation 2 and hello-world.reds 
works without problem. Great! Howerev, when I tried to run Kai's 
C-linrary (or other extensions), I ended up with this error:
./C-library: symbol lookup error: ./C-library: undefined symbol: 
atexit
any ideas how to solve this problem?
Pekr
14-Jun-2012
[480]
try to search the "atexit" at REBOL3 world, there's few remarks about 
that ...
Rebolek
14-Jun-2012
[481x3]
Thanks, I look into it.
Seems like atexit() is not implemented in some glibc versions.
Well, some progress! I changed atexit to __cxa_atexit and now I can 
run cURL test (with "Couldn't resolve host name" error). Mandelbrot 
and Fibonacci tests from C-library examples give me "Illegal instruction" 
error.
DocKimbel
14-Jun-2012
[484]
Is your platform ARM-based?
Rebolek
14-Jun-2012
[485]
Yes, it's got ARMv5TE processor. I guess it doesn't have FPU unit 
(so no wonder Mandelbrot test  doesn't run). I'm running some tests 
and I've got the Fibonacci demo running (after removing to-float).
DocKimbel
14-Jun-2012
[486x2]
An FPU-emulation should be available anyway, but might require a 
different calling convention than the one used by ARM port of Red/System 
currently.
I guess we would need a new compilation flag to choose between differents 
ABI.
Janko
14-Jun-2012
[488x2]
Hi, I am looking into OAuth. I see (and thank you a lot for this!) 
that Chriss Ross Gill created OAuth client part in the twitter library: 
http://reb4.me/r/twitter.html, I am reading into it, but does he 
or anyone else know how much additional work would be needed to do 
the rebol OAuth server part ?
Ah sorry! I wanted to post this to web, but got "internet got busy" 
and while I was trying to fix it I posted here
Kaj
14-Jun-2012
[490x2]
There's already a switch in the C library binding from atexit to 
__cxa_atexit for Syllable. I vaguely remember the problem was indeed 
also reported for other systems on ARM platforms. I can switch it 
for ARM as well as long as we don't have more specific info
Done