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

World: r3wp

[!REBOL3]

Ashley
30-Jan-2010
[327]
Are modules working correctly?

>> system/version
== 2.100.96.2.5
>> import http://www.rebol.it/power-mezz/mezz/form-error.r
>> source form-error
form-error undefined


Also, are the Imports and Globals fields (as used in Gab's Power 
Mezz) supported? ... http://www.rebol.com/r3/docs/concepts/modules-defining.html#section-3
BrianH
30-Jan-2010
[328]
Gabriele's modules aren't compatible with R3 modules, and the Power 
Mezz package is for R2 (so far).
Ashley
30-Jan-2010
[329x2]
Looks like just the Name field is missing ... missed that.
What's the easiest way (under R3) to write code like this:

f: make function! [[][
	cols: [c1 c2]
	data: [2 4]
	cmd: [c1 + c2]
	set cols data
	do cmd
]


without adding words to the global context? (and not predefining 
c1, c2, etc).
BrianH
30-Jan-2010
[331]
Use FUNCT to define the function and use cols: [c1: c2:].
Ashley
30-Jan-2010
[332]
Slightly clearer example of what I'm trying to do:

f: make function! [[cols data cmd][
	set cols data
	do cmd 
]]

f [c1 c2] [2 4] [c1 + c2]
BrianH
30-Jan-2010
[333]
APPLY FUNC cols cmd data
Ashley
30-Jan-2010
[334]
Still no luck:

f: funct [cols data cmd][
	set cols data
	do cmd
]

apply :f [[c1 c2] [2 4] [c1 + c2]]
BrianH
30-Jan-2010
[335x2]
f: func [cols data cmd] [apply func cols cmd data]
FUNC in R3 does a COPY/deep of its spec and code blocks, so it's 
safe to use here.
Ashley
30-Jan-2010
[337]
Perfect. Elegant as well.
Maxim
1-Feb-2010
[338]
the new R3 web site is SOOOO much better to navigate on..... 


yeah, it doesn't look like a million, but at least it doesn't get 
in your way, like the old site did. 

just tought I'd share my POV.
Pekr
1-Feb-2010
[339]
Max - it is just a structure, which was reshapen, and the page was 
also de-stylled. The layout, styling and gfx of the new site is not 
done yet, as well as front page segmentation for particular target 
groups interests ...
Maxim
1-Feb-2010
[340]
but already looks and feels better.
Pekr
1-Feb-2010
[341]
more lightweight, better structured, yes ...
Graham
2-Feb-2010
[342]
Anything new ??
Pekr
2-Feb-2010
[343]
no, nothing ... not even web site changes anymore .... so - R3 black-out 
for more than 2 months ....
Maxim
2-Feb-2010
[344]
he did post on the blogs about what he's been doing and that he is 
now back to R3 coding.
Carl
2-Feb-2010
[345x3]
Time to resume some R3 builds.  Do we have an ordered list of what 
we want to do next?
Just for those reading here (that is, please.... do not post web 
links to it), new wiki has:
www.rebol.com/priorities.html
(So Pekr, if you're wondering what's happening, that's where you 
check.)
james_nak
2-Feb-2010
[348]
:-)
Carl
2-Feb-2010
[349]
Hi James.   There's actually an outline mode in the new wiki... so 
it's very easy to maintain and update this list.
james_nak
2-Feb-2010
[350]
Yes, very impressive.
Carl
2-Feb-2010
[351]
I probably need to put a no-cache meta directive on it.
james_nak
2-Feb-2010
[352x2]
OF course the issue is not the list, is it? It's "doing" all the 
stuff.
BTW, the website looks nice and it's fast. I miss the link to the 
 script library though.
Carl
2-Feb-2010
[354x2]
Correct.  But, I want to findout what people want the most now.  
I think last time "conference" was about posting the Console code 
from R2 as a starting point for that project.
Anyway, bbl to read replies.
james_nak
2-Feb-2010
[356]
My regards to Cindy and your kids. I'll get out of the way for the 
"real" rebol troops. Thanks for all your effort. See you at the Devcon 
:-)
Graham
2-Feb-2010
[357]
Just for those reading here (that is, please.... do not post web 
links to it), new wiki has:

This group is web public !!
Gregg
2-Feb-2010
[358]
With the progress Graham, Andreas, and Steeve (and maybe others I've 
missed) have made on schemes, I would like to see their momentum 
and work leveraged. 


The host kit is probably also very important, so others can pursue 
that. Redirection, for writing pipe and filter apps. If the GUI console 
for Windows isn't too hard, that would be great IMO.
Graham
2-Feb-2010
[359x2]
My feeling is that whatever is the most enabling should be done first.
Otherwise a lot of people remain blocked.
Andreas
2-Feb-2010
[361]
i agree. which is why i would like to see renewed focus on the hostkit
BrianH
2-Feb-2010
[362]
Working on compressed modules this week, inline export already done, 
protected header fields waiting on PROTECT fixes. It would be really 
helpful for there to be a discussion about the design requirements 
for embedded deferred init modules.


Really looking forward to host kit changes. Waiting on READ/as and 
WRITE/as before I start improving the clipboard:// scheme.
Andreas
2-Feb-2010
[363]
here's a personal wishlist:


1. a license for the hostkit, which would allow us to publish and 
distribute patches and custom builds. this would be a necessary precondition 
to bootstrap a healthy hostkit ecosystem (if such a thing is desired).


2. documentation of more hostkit intricacies, such as "documenting 
the boot script build method" mentioned on the priorities page. another 
pet peeve of mine would be documentation on how to add new native 
port types (such as ssl). and fixes (if any) to enable creation of 
such native ports by only touching mezzanines and the host kit.

3. a libr3.dylib built for osx.
Maxim
2-Feb-2010
[364]
right now flushing out (finishing) the extensions is actually the 
most enabling.  so: 


1.  Releasing the view host-kit with improved extensions would be 
the first step into finishing WHAT the first R3 beta will be, in 
terms of architecture. Right now, there are a lot of datatypes missing, 
and a proper REBOL callback mechanism *** with return value***  is 
probably the most frustrating issue with R3 extensibility.  image 
and vector types are critical to extensions... please they have to 
be part of next extensions.


2. Schemes!!!   with a lot of work ALREADY done,  plus willing and 
able helpers, Carl, you should REALLY look into this and orient the 
spontaneous team that is dying to get your attention so they can 
proceed FOR YOU.


3. Documentation ... I'd say.. .TWO complete and final pages a day... 
no need to do more.   At that rate, the documentation will be much 
more helpfull within weeks.  But sections of it will start to be 
worthy of being called documentation... right now... I'd call it 
the "sprawled notes" part of the site.
Graham
2-Feb-2010
[365]
So, is SSL an extension?
BrianH
2-Feb-2010
[366]
SSL needs the ability to add devices, which in theory you can do 
in the host kit but noone has managed it yet. It would not be addable 
as an extension until we get device extensions. So many things are 
waiting on device extensions...
Graham
2-Feb-2010
[367]
So, is there a documented dependency tree somewhere ....?
BrianH
2-Feb-2010
[368]
On external libs, or internal dependencies?
Graham
2-Feb-2010
[369x2]
so that the most enabling work can be done .. what's at the top of 
the tree?
I suspect it's the license!
BrianH
2-Feb-2010
[371x2]
Oh, sorting the todo list. No, the license isn't at the top.
Let's see:
- 1.6 depends on 1.2, and 1.3, 1.5 and 1.6 are related to these
- 2.1 and 4.3 depends on 1.1 (probably)
- 2.2 depends on 1.6 (probably)
- 3.3 depends on 2.1, 3.1 and 3.2
- 4.1 is written and submitted already
- 4.2 is in process
- 4.3 is waiting for discussion
- 4.4 depends on 7.1

- Clipboard support for other formats than text depends on 5.1 and 
5.2
- 7.3 and 7.4 will probably use the same code
- 8.2 depends on 5.7

- 8.5 (and secure use of R3) depends on 5.5, 5.8, 7.1, 7.2 and possibly 
6.2
Those are the dependencies I can see in the R3 priorities list.
Andreas
2-Feb-2010
[373]
now topo-sort it, break cycles and off you go :)
Maxim
2-Feb-2010
[374]
hahaha.
Paul
2-Feb-2010
[375x2]
Has return changed in R3?
requires a value now?