r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!REBOL3]

BrianH
26-Jul-2010
[4069x3]
USE is just a helper function in R3. We use modules as the primary 
structuring model now.
Or objects.
Now if you created the closure yourself ahead of time, instead of 
creating a new closure every time (as USE does) then it would be 
faster.
Oldes
26-Jul-2010
[4072]
Can you show how?
BrianH
26-Jul-2010
[4073]
blah: closure [a b c d] [a: 1 b: "xyzdddddddd" c: 3 d: a * c]
benchmark [apply :blah []]
RobertS
26-Jul-2010
[4074x3]
HTML of new R3 doc pages has similar problems on most pages due to 
no urlencode of ampersand in urls and invald <th> declarations using 
old <tr> attrib values for vertical-align in a <th> element.  I would 
gladly fix ad hoc and you can fix your page gen tools (?) later
test: 42 ;  test:none  ;  comment { test remains 42 but no error 
unlike, say, simple undefined  testnone   That missing space looks 
nasty when test:none should have been    test: none           Is 
this a bug in R3?    test:none does not return none but instead returns 
  test:none
>> test: 42
== 42
>> test:none
== test:none
>> testnone
** Script error: testnone has no value
Oldes
26-Jul-2010
[4077x2]
that's a bug:
>> test:none: 1
== 1

>> test:none
== test:none
And it's bug in R2 as well.
Endo
26-Jul-2010
[4079]
I don't think it is a bug, test:none: is a url.
>> test:none: print "x"
== x

if it would a set-word then it should give an error like "test:none 
needs a value"
x: print "a"; == x needs a value
>> ? test:none:
== test:none: is an url
Oldes
26-Jul-2010
[4080]
probably you are right.. maybe it's for cases like>  mailto:[carl-:-rebol-:-xxx] 
 <not very useful imho :)
RobertS
26-Jul-2010
[4081]
a tolerated bug in R2 becomes a revered feature in R3, no?   If that 
is not a bug, then I may be the pope.  Or is it "the caprice of the 
colon", otherwise known as 'the big C" ?  You must excuse me, Jon 
Stwarrt just explained that science is faith and I am still in awe.
Chris
27-Jul-2010
[4082]
Single colon urls, can use it for:

Machine tags - one:two=three
For taguris - tag:example.com,2006:Fluffy 
Database - db:movies
Placeholders - go:here

And mailto: ... which can have it's merits, eg. - mt: find "mailto:" 
load/next mt (not for spam)


All of which you can write mini port handlers for, should you have 
the need...
BrianH
27-Jul-2010
[4083]
RobertS, it's not a bug even in R2.
Maxim
29-Jul-2010
[4084]
has find/all been discussed in relation to R3?  I think its a huge 
gap in REBOL.   maybe there's another function for this, but I'd 
rather have it "close to the source".
Henrik
29-Jul-2010
[4085]
R3 A102 released internally. (Have no other info yet)

http://www.rebol.com/r3/changes.html
Oldes
29-Jul-2010
[4086]
http://www.rebol.com/r3/downloads/r3-host-kit-a102.zip
Graham
29-Jul-2010
[4087]
No support for structures yet?
BrianH
29-Jul-2010
[4088x3]
No conversion functions yet, if that is what you mean. No struct! 
type as well, but that was a given. You can pass pointers to structures 
around as the handle! type, structure data in the binary! type, and 
convert using extension functions, or even REBOL code for binary! 
data.
If you want a great set of conversion functions start writing them, 
and get others involved for the advice and help. You might consider 
starting with the conversion blog here: http://www.rebol.net/cgi-bin/r3blog.r?view=0317#comments
If conversion functions aren't done by the time I finish the module 
system revamp, and I have the time, I'll try implementing the model 
suggested in the comments of that blog. Not the struct! type though, 
that would be terrible for conversions.
Graham
31-Jul-2010
[4091x3]
A quick poll .. who is actually working on end user projects using 
R3 now??
Or, if that is too much to expect .. who is actually using R3 for 
anything??
And if you're not .. what is the thing that is blocking you the most 
from using R3 ?
Pekr
31-Jul-2010
[4094]
GUI, console (not willing to experiment that much with the Windows 
default one), call, protocols (ftp, email, easy-cgi), DB (mysql, 
sqlite)
Graham
31-Jul-2010
[4095x2]
Well, of those, I think I only see 'call and 'gui as blocking ... 
as the others are either usable in some sort of fashion
we have suffix? ... so why not root? ( or whatever? )

root?: func [ f  ][
    copy/part f (length? f) - length? suffix? f
]
PeterWood
31-Jul-2010
[4097]
The big biggest block to me using R3 is CureCode Bug #1361.
Graham
1-Aug-2010
[4098]
incomplete error trapping?
PeterWood
1-Aug-2010
[4099]
Yes. It is blocking on two levels; first repeatable tests abort, 
secondly live applications cannot be fully protected.
Robert
1-Aug-2010
[4100x3]
We are going to do our next commercial project with R3. I bite the 
bullet and wie will create everything we need on the fly.
GUI: This will result in a bunch of styles we need.
DB: Either we use SQLApi+ or OpenDBX to get access to a bunch of 
databases through the same interface.
Graham
1-Aug-2010
[4103]
Did you create a sqlite3 binding for R3 ?
Robert
1-Aug-2010
[4104x2]
Yes, I need to review it but overall it works.
We will publish this extension as soon as we have used it in a real 
life (internal) app to be sure it works.
Anton
1-Aug-2010
[4106]
Not using R3 for anything.

Reason: lack of energy. Illness took me down to about 1% of my programming 
capacity since about a year ago. Just starting to increase again 
recently.
TomBon
1-Aug-2010
[4107]
robert, great to hear about the gui. what kind of styles you are 
planning?
some advanced ones like treeview etc.?
Henrik
1-Aug-2010
[4108]
for now, whatever is needed for the application that is going to 
be built.
TomBon
1-Aug-2010
[4109]
a textfield? ;-)
Oldes
1-Aug-2010
[4110x2]
Do you know when is planed the unicode support in gui's textfields?
Or is it already there?
Henrik
1-Aug-2010
[4112]
unicode will be fixed along with other DRAW bugs, when the host kit 
is done.
BrianH
1-Aug-2010
[4113x2]
Peter, agreed, there are a bunch of related TRY and unwind bugs that 
need fixing. It's not blocking me as much as the PROTECT bugs, but 
it's there.
Anton, that explains a lot, sorry to hear about the illness. Glad 
you are recovering :)
Graham
2-Aug-2010
[4115x3]
Is it just me ... or is the official information about R3 undergoing 
further fragmentation?
We've got some prelim docs here on the host kit http://www.rebol.com/r3/docs/concepts/host-kit.html

but then we now see documentation in the change logs here  http://www.rebol.com/r3/changes.html
as well as here http://www.rebol.net/cgi-bin/r3blog.r?view=0324
http://www.rebol.com/docs/reference.html

missing 'funct  :)   Guess RebotTutorial got to Carl!
Ladislav
2-Aug-2010
[4118]
Fork mentioned FUNC vs. FUNCT naming issues.


As far as I am concerned, I am quite content with FUNC instead of 
LAMBDA as other languages using this construct "promote". Regarding 
the FUNCT name - as far as I remember, the FUNCTOR alternative was 
considered, but it looked impractically long for a common usage.