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

World: r3wp

[!REBOL3]

BrianH
28-Jun-2010
[3495]
Database work is only waiting for a community discussion of the semantic/dialect 
model, afaik. Something to integrate with the new port model, not 
the old one.
Graham
28-Jun-2010
[3496x2]
j: open jdbc://localhost:8000
insert j {select first 2 * from staff}
r: copy j
>> length? r
== 2

My jdbc protocol working
Any reason why we can't use R2's semantics?
BrianH
28-Jun-2010
[3498]
Yes: The port model is different. For one thing, you don't insert 
to and copy from ports.
Graham
28-Jun-2010
[3499]
So just rename the actors
BrianH
28-Jun-2010
[3500]
And async needs to be considered as well.
Graham
28-Jun-2010
[3501]
My jdbc protocol is async
BrianH
28-Jun-2010
[3502]
With a handler, like in R3?
Graham
28-Jun-2010
[3503x3]
All protocols are async unless you do special trickery to try and 
make them look sync
My jdbc protocol is a R3 protocol ... this is the R3 group!
scheme I meant
BrianH
28-Jun-2010
[3506]
Cool. So set up a discussion for the database semantic/dialect model. 
I think one of those DocBase wiki discussions would work for this, 
with chat in the DB Chat group here.
Graham
28-Jun-2010
[3507]
Just going to copy r2
BrianH
28-Jun-2010
[3508]
The R2 model wasn't very good, in my experience, so a refined model 
that can also be adapted to NoSQL databases would help here.
Graham
28-Jun-2010
[3509x2]
ha!  I'm not an architect!
This is just something to get me up and running on R3 with databases
BrianH
28-Jun-2010
[3511]
That's nice then :)
Graham
28-Jun-2010
[3512x3]
I don't understand why in the actor block, we can do this:

		close: func [
			port [port!]
		] [
			if open? port [
				close port/state/connection
				port/state/connection/awake: none
				port/state: none
			]
			port
		]


In the r2 schemes we had to specify the system word 'close, but in 
r3, we don't ... so what stops the stack overflow here?
apart from the fact that it stops the 'if by closing the port ...
If the remote client closes the port, can one just re-open the port 
to make another connection?
Henrik
29-Jun-2010
[3515]
First window opened!  Animates with thousands of alpha colored gob 
blits..
 - Carl on Hostkit work.
Maxim
29-Jun-2010
[3516]
good news  :-)
Robert
29-Jun-2010
[3517]
Host-Kit: Just GOBs yet, no DRAW.
Pekr
29-Jun-2010
[3518]
Sounds really cool. Getting DRAW to work might be a bit more difficult. 
If I understand it correctly, DRAW dialect is processed by the kernel, 
whereas drawn by the HostKit, hence draw api will have to be created 
in the HostKit layer, which will be called by the kernel?
ICarii
29-Jun-2010
[3519]
having a working DRAW img [] in R3 would be nice too - and probably 
easier to do once we get it in hostkit?
Robert
29-Jun-2010
[3520x2]
There is a new command block evaluator that needs to be used a bit 
differently. Hence the DRAW dialect loop needs to be adjusted. As 
the AGG interface
didn't changed and is brought in as extension, the binding should 
not change significantly (all my guess).
Andreas
29-Jun-2010
[3522]
Graham: the seemingly self-recursive "close" call works, because 
of how the actor functions are bound. Compare:

>> foo: func [] [42]
>> bar: compose [foo: (func [] [foo])]
== [foo: make function! [[][foo]]]

>> bar/foo
== 42


The situation with protocol actors is similar. (With the binding/reduction 
stuff is "hidden" in make-scheme.)
Robert
29-Jun-2010
[3523]
BTW, as I was working on this, I realized how much you are going 
to like this new R3 build.  The entire graphics, including the view-related 
mezz functions are now a module stored in the host kit.  So, all 
of our new graphics support code can go there and be updated as needed.
 - Carl
Pekr
29-Jun-2010
[3524x2]
/me likes it :-)
Robert - you should ask Carl for the permission to Tweet those nice 
messages :-)
Robert
29-Jun-2010
[3526x2]
I can.
I did.
Pekr
29-Jun-2010
[3528]
Cool!
Graham
29-Jun-2010
[3529x2]
Andreas, so this binding was not done in R2 schemes?
Hence the need for scopy, spick, severything?
BrianH
29-Jun-2010
[3531]
No, the binding *was* done in R2 schemes, hence the need for scopy, 
etc. It is not done in R3 schemes, so you don't need those extra 
references because the originals are not overwritten anymore.
Steeve
29-Jun-2010
[3532x2]
They may be overwritten though, if instead of giving a block of specs 
you furnish an object of actors to the make-scheme function:)
Not only that, you may replace the actors of a port at anytime.
Graham
29-Jun-2010
[3534]
Hey Steeve, I think my scheme is working now  :)
Graham
30-Jun-2010
[3535x2]
Looks like all R3 development work is occuring inside darknets inside 
darknets
Kinda defeats the idea of open source components
AdrianS
1-Jul-2010
[3537x2]
yeah, I was hoping to have a bit more feedback published from the 
daily scrums
I guess there's been more feedback than before, though
Robert
1-Jul-2010
[3539x3]
What feedback do you expect?
The thing is to concentrate and focus that we can deliver something. 
Disussions about non-priority things don't help us at the moment.
The daily scrum is not that interesting as there is nothing DONE 
until the end of a sprint. We are currently using 1 week sprints. 
This means every Friday afternoon we review what has been DONE.
Pekr
1-Jul-2010
[3542]
Graham: I expect something to be released (open-sourced), once there 
is actually something to open-source. I mean - untill the HostKit 
isolation is done, we can't proceed. Once View is completly separated 
as module, it can, and hopefully it will be released ...
Robert
1-Jul-2010
[3543x2]
I don't know about anything why it shouldn't be released.
I'm looking forward what will be done with the host-kit. Not sure 
why it's a mandatory component for so many to use R3 but OK, maybe 
I just don't get it.