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

World: r3wp

[!REBOL3]

Maxim
21-Jun-2010
[3482x2]
yeah, I see the problem.
they could be stored like vectors internally, but would that make 
them MUCH slower?
BrianH
21-Jun-2010
[3484]
Yes, due to at least one added pointer indirection, and added code 
to prevent aliasing (in the pointer sense, not the graphics sense). 
And they could be modifiable, unless we are careful, and that brings 
in another whole host of issues.
Maxim
21-Jun-2010
[3485]
well, I guess they could just be stored as a two double struct, but 
then we still get the added indirection everytime they are used.
Pekr
24-Jun-2010
[3486]
Development roadmap. There's also Carl's blog about it. I just wonder, 
if it differs from the priority page that much?

http://www.rebol.com/roadmap.html
http://www.rebol.com/priorities.html
shadwolf
27-Jun-2010
[3487x2]
AT LEAST THE ROADMAP  !!!  i'm about to cry ...
no in fact I don't havec feelings but if i had some feelings i would 
cry ... eventually...
Graham
27-Jun-2010
[3489x2]
Thinking that the java jdbc bridge I was working on in "Other languages" 
might be used for R3 database access until we have ODBC support
I guess I need to serialize the data on the java side so that it 
looks like Rebol values .. a la 'mold
shadwolf
27-Jun-2010
[3491]
doing a java bridge to access a database ? hum really ? but what 
would be the gain ? instead of having it in direct access i thought 
rebol had odbc acces through odbc://
Graham
27-Jun-2010
[3492]
This is R3 group
Henrik
28-Jun-2010
[3493]
A bit of host kit news:


--- Win32 window and event code now compiles and links successfully 
within the host-kit.
 - Carl.
Maxim
28-Jun-2010
[3494]
YEAH baby
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.