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

World: r4wp

[#Red] Red language group

DocKimbel
26-Sep-2012
[2303x3]
Andreas: do you think we should add Latin1 locale support too or 
just assume that now everybody use Unicode-capable terminals?
Next: char! and all series actions already present in block! implemented 
for string!
Should be just a couple of hours of work, but I need first to fix 
one or two tickets for Kaj.
Arnold
26-Sep-2012
[2306]
Now Red can output texts it can produce strings with html code? And 
so theoretically is up to CGI processing maybe with a little help 
from REBOL. Or is that too early?
GrahamC
26-Sep-2012
[2307]
Can red access stdin and stdout ?
Pekr
26-Sep-2012
[2308x4]
Not yet imo. There's imo no I/O apart from print ....
but - Red apps is an executable, so theoretically, on systems like 
Linux, maybe it can be piped?
hmm, but it would have to support stdin/out for that probably anyway 
:-)
Kaj wrapped some libraries, maybe those cover some ground there, 
e.g. Curl binding allows you to work with networking:

http://www.red-lang.org/p/contributions_20.html
Kaj
26-Sep-2012
[2312x2]
There are functions capable of stdin/out in the C library binding. 
Some of them are included in Red/System itself
Those can be inlined in Red, but Red itself currently only has print 
to stdout
DocKimbel
26-Sep-2012
[2314x2]
We'll add stdin proper support when we'll implement console:// scheme.
We could add CGI support earlier though.
Pekr
26-Sep-2012
[2316x2]
Console scheme? We will have console? :-)
Nice though, I always liked schemes like console://, clipboard://, 
those were just under-utilised imo :-)
DocKimbel
26-Sep-2012
[2318]
Of course, as soon as it will be possible to make Red work in a console.
Kaj
26-Sep-2012
[2319]
Can we call it E: like on my Atari 8-bit? ;-)
Arnold
26-Sep-2012
[2320]
That would give a little showcase to Red. Pls do not feel pushed 
Doc! One fool can ask more than ten wise men can answer ;-)
DocKimbel
26-Sep-2012
[2321]
What was the Amiga device name for that? CON:?
Pekr
26-Sep-2012
[2322]
yes
Kaj
26-Sep-2012
[2323]
If it was like DOS :-S
Pekr
26-Sep-2012
[2324]
I just got an idea - we will reimplement Amiga OS in a modern way 
:-)
Kaj
26-Sep-2012
[2325]
Been doing that for a decade
Arnold
26-Sep-2012
[2326]
:D
Pekr
26-Sep-2012
[2327]
Will we also have a system object structure? I liked lurking in the 
internals of REBOL in initial days :-)
Kaj
26-Sep-2012
[2328]
Already in Red/System
GrahamC
26-Sep-2012
[2329]
Addimg CGI support early would be good ... for online demos
Kaj
26-Sep-2012
[2330]
You can do it in Red/System
DocKimbel
26-Sep-2012
[2331x2]
Without proper internal sandboxing, you certainly wouldn't want to 
give open access to anyone for running Red (and even worse Red/System) 
code on your server.
Once again, the best option for such live demos is adding a thin 
Red emulation layer on top of Topaz.
Kaj
26-Sep-2012
[2333x2]
On TryREBOL it's no problem. I've been giving the world a gaping 
hole into our server for three years now. It was a test, and people 
tried to break it, but they never got in
CGI is based on the same principle. It's supposed to be a gateway 
from a Unix web server to a Unix file system, so you can secure it 
with operating system tools
GrahamC
26-Sep-2012
[2335]
I think you'd run it on your own server ...
Gregg
26-Sep-2012
[2336]
Just skimming this group. Exciting to see so much going on here.
Arnold
27-Sep-2012
[2337]
Adding CGI would be good for online demo's? Well for building web-sites 
too! Finally drop php.
Oldes
27-Sep-2012
[2338]
Aren't you using Doc's Cheyenne server? ;-)
Arnold
27-Sep-2012
[2339x2]
Unfortunately my websitehoster has a plesk system with Apache on 
it. I managed to have REBOL CGI working on it. It will process .r 
.rsp files.
Having more freedom often means to pay more
Kaj
27-Sep-2012
[2341]
Or run your own server
Oldes
28-Sep-2012
[2342]
or local server which generates static content for your public server 
hosting
Kaj
28-Sep-2012
[2343]
I do that, too, but there's no CGI there, then
Pekr
28-Sep-2012
[2344]
Doc, with recent discussions about Unicode, I wonder if we will have 
strong binary type, and myriads of to-* REBOL-like functions for 
various conversions between the types?
DocKimbel
28-Sep-2012
[2345]
Pekr: there's only one TO native, all the to-* functions are just 
handy wrappers. How would you suggest datatype conversions be handled 
instead?
Pekr
28-Sep-2012
[2346]
dunno. Just want to avoid R2 mess with binary vs string conversion, 
etc.
BrianH
28-Sep-2012
[2347]
We did a lot in R3 to clean up binary vs. string conversion. There's 
probably more work to do, but it's a good start.
Pekr
28-Sep-2012
[2348]
I know, so I hope Red follows R3 model :-)
BrianH
28-Sep-2012
[2349]
The one thing R3 was bereft in was custom conversion functions. We 
had some ideas, but for the most part didn't get around to implementing 
them.
Pekr
28-Sep-2012
[2350]
do you mean codecs?
BrianH
28-Sep-2012
[2351]
Well, that too, but I more meant a better replacement for that awkward 
struct! conversion hack in R2.
DanielN
29-Sep-2012
[2352]
Hello, I want to use a local database whith no concurency for aor 
the moment I see ndb indexed btree from Dockimbel, another alternative 
is possible and what ca be used  with the future red ?