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

World: r4wp

[#Red] Red language group

Pekr
26-Sep-2012
[2311]
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 ?
Pekr
29-Sep-2012
[2353]
at the moment there is a Red/System binding to SQLite. But that's 
for Red/System. I would probably wait, till higher level Red is more 
feature complete in upcoming 2-3 months ...
DocKimbel
29-Sep-2012
[2354]
Daniel: welcome! The best choice so far would be SQLite for such 
usage. We might reuse lower level parts of SQLite to build our own 
storage system specifically designed for Red.
Pekr
29-Sep-2012
[2355]
Yes, SQLite is a good candidate for that imo. Right licence, relatively 
small, performance is good.
DanielN
29-Sep-2012
[2356]
OK, and also dispo in android I think and bbrerry os...
Pekr
29-Sep-2012
[2357]
well, as for BB 10 - we should get there imo - QNX based, old Amiga 
friends :-) And maybe it is good to support lower market, than crowded 
iOS developer's base? We will see ...
DanielN
29-Sep-2012
[2358]
That will be very good, shure ! :)
DocKimbel
29-Sep-2012
[2359]
We'll spread wherever possible! :-)
BrianH
29-Sep-2012
[2360]
If you're thinking of adapting the lower levels of SQLite for our 
use, start with SQLite 4. It's much better suited for that kind of 
thing.