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

World: r4wp

[Announce] Announcements only - use Ann-reply to chat

Kaj
7-Jan-2013
[274x2]
A pull request to mainline Red has been submitted:
https://github.com/dockimbel/Red/pull/371
Andreas
7-Jan-2013
[276]
I posted a short primer for CGI with current Rebol 3 releases as 
answer to a question on Stack Overflow:


http://stackoverflow.com/questions/14123618/how-to-write-a-hello-world-cgi-with-rebol-3


If you want to play with R3 and CGI but don't know how, that should 
get you started.
Kaj
7-Jan-2013
[277x3]
I've started a file common.red for common definitions for Red:
http://red.esperconsultancy.nl/Red-common/dir?ci=tip
Notably, there's marshalling in there for program arguments.

ARGS-COUNT gives you the number of arguments, including the program 
file name, like system/args-count in Red/System.

ARGUMENTS gives a block of string arguments, excluding the program 
file name, or NONE, like ARGS in Boron.
ARGUMENT 0 gives the program file name, like argv[0] in C.
Doc, feel free to use any of it in Red under BSL
Kaj
8-Jan-2013
[280x6]
I've ported the do-sql example for SQLite from the Red/System binding 
to the Red binding:

http://red.esperconsultancy.nl/Red-SQLite/dir?ci=40dba6332ea529dc&name=examples
To be demoed at above DevCon.
You can give arbitrary SQL instructions to an arbitrary SQLite database 
from the command line
It still uses a Red/System callback for processing result rows, so 
that's not done on the Red level yet. That's next
Everything around it is done by Red, such as processing the command 
line arguments, opening and closing the database, injecting the SQL 
and processing status reports
To be demoed at above DevCon
The Red binding uses the same string marshalling as the Red console, 
so the same limitations apply. Latin-1 only and string values of 
64 bytes or longer may not work
Gerard
9-Jan-2013
[286]
Robert : A gotcha appeared in your last post about the oneline-prime-numbers.r 
script the correct address should include as its filename the following 
: oneliner-prime-numbers.r instead of the submitted one. I then copy-pasted 
the content of the script in the console and here is what I got : 
97 89 ...   5 3  which is correct !  Thanks again !
Robert
9-Jan-2013
[287]
Yes, sorry for the type.
Andreas
11-Jan-2013
[288x3]
I'm happy to announce a website for downloads of (unofficial) Rebol 
3 executables:

http://www.rebolsource.net/


Currently, binaries for Linux, OSX, and Win32 are created fully automatically, 
from Carl's latest R3 sources. So whenever Carl updates his Github 
repository, those binaries will be updated automatically (typically 
within ~10 minutes) as well.
I hope this makes it easier to partake in R3 development without 
going through the hassles of setting up a build environment first.
(Please reply/discuss in Ann-Reply.)
Robert
11-Jan-2013
[291]
I'm happy to announce our next Android release. Cyphre did a great 
job and pushed the port further forward. Here are the highlights 
of the new release:

-added full file access
-added networking
-added console user input (ASK etc. works)
-improved threading (at the app level, not R3)
-misc small internal changes in the console code


With this it's possible to run R3 chat on your Android phone :-) 
Here is how to do it:

make-dir %/mnt/sdcard/r3/
change-dir %/mnt/sdcard/r3/
chat


The paths might be a bit different on your device. The trick is to 
use the /sdcard path and put everything below it.

The link is as always:

http://development.saphirion.com/experimental/R3droid.apk

Again, thanks to all who made a donation for this project!
NickA
11-Jan-2013
[292x2]
Fantastic - thank you!
All file and networking tests working for me so far :)
Andreas
11-Jan-2013
[294]
-> Ann-Reply :)
Kaj
12-Jan-2013
[295x2]
I made an extended version of the Red interpreter console that includes 
the SQLite binding, so you can use the binding from the interpreter.


This was made possible by all the fixes Doc has done in the past 
few weeks and enhancements to the interpreter.


I've made ready built binaries available in the test repository. 
They're in */Red/console-pro:
http://archives.esperconsultancy.nl/Red-test/dir?ci=tip
To be demoed at the DevCon:
http://devcon.esperconsultancy.nl
Kaj
13-Jan-2013
[297x4]
I've started a Red counterpart of the Red/System binding with the 
C library:
http://red.esperconsultancy.nl/Red-C-library/dir?ci=tip


I'll implement C library bindings there as far as they're useful 
at the Red level. So far there's a simple CALL implementation.
There's a WAIT refinement, but like in R3, this simple CALL always 
waits, and there are no other refinements yet
I've extended the Red interpreter console with the ability to load 
and run a script file, given as an optional program argument. It 
also has CALL now, so you can run simple programs with the intepreter 
and script the operating system.


As before, ready built binaries are available in the test repository, 
in */Red/console-pro:
http://archives.esperconsultancy.nl/Red-test/dir?ci=tip
After executing a script, you still end up in the console, to help 
with debugging. To prevent this, end the script with QUIT
Andreas
13-Jan-2013
[301x3]
The OSX x86 binary on rebolsource.net has been updated and should 
now work on OSX 10.4+.
Direct link:
http://www.rebolsource.net/downloads/osx-x86/r3-ga6077e8
Thanks to Chris Ross-Gill, HostileFork and Peter Wood for reporting 
this issue.
Kaj
14-Jan-2013
[304x3]
I've implemented INPUT and GET-ENV in the C library binding for Red:
http://red.esperconsultancy.nl/Red-C-library/dir?ci=tip

It should now be possible to do CGI programming with Red.

I've updated the console-pro interpreter:
http://red.esperconsultancy.nl/Red-test/dir?ci=tip
The source for the extended console is here:
http://red.esperconsultancy.nl/Red-common/dir?ci=tip&name=examples
Kaj
17-Jan-2013
[307x7]
Specially for Arnold, I've implemented NOW and RANDOM for Red:
http://red.esperconsultancy.nl/Red-C-library/dir?ci=tip

I've updated the console-pro interpreter in */Red/:
http://red.esperconsultancy.nl/Red-test/dir?ci=tip
The latest interpreter fixes from Doc are also in there
I've implemented all refinements for NOW here, except /precise:
http://www.rebol.com/r3/docs/functions/now.html
In addition, I've added /hour /minute and /second. Red has no date! 
and time! types yet, so they're returned as strings
It's pretty horrible what one has to do to hammer the chaotic C library 
API into a neat REBOL model
RANDOM has /seed. It only works on integers so far. As a bonus, random/seed/secure 
seeds the pseudo-random number generator with a clock value, so the 
start of the sequence is really random
sqlab
18-Jan-2013
[314]
now gives a string with date and time, but using  the refinements 
dont't give back a result.
This is on Windows XP
Kaj
18-Jan-2013
[315x7]
I'll answer in Ann-Reply
I've added a download/update script for the source code of the Red 
bindings to the test repository:
http://red.esperconsultancy.nl/Red-test/dir?ci=tip
Run download.r and it will clone the repositories of currently 13 
bindings and other extensions, create subdirectories for them, and 
check out the files
Run it again and it will update all extensions to the latest versions
You will be all set for compiling the examples yourself, and using 
the bindings in your own programs
You need to have Fossil installed:
http://rebol.esperconsultancy.nl/documentation/how-to-use-Fossil.html
Kaj
19-Jan-2013
[322x2]
I made simple implementations of READ and WRITE for Red. They need 
to be included from a new file input-output.red:
http://red.esperconsultancy.nl/Red-common/dir?ci=tip

It's now possible to read and write text files with Red.

I've updated the console-pro interpreter in */Red/:
http://red.esperconsultancy.nl/Red-test/dir?ci=tip
Similar functions are available for Red/System in input-output.reds 
but they're called READ and WRITE-STRING because WRITE conflicts 
with an internal definition in the Red/System runtime