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

World: r3wp

[!REBOL3]

Robert
4-Aug-2011
[9351x3]
Trying to get back a result from an async callback to Rebol. This 
is the code I use:

	int cb_error = RL_CALLBACK(cbi);

	// check error
	if(cb_error==0){
		printf("to_rebol_processor: R3 callback failed");
		return false;
 	}

	// let's access the result from the callback (string! for now)
	char *callback_result;
	RL_GET_STRING(cbi->result.series, 0, (void**)&callback_result);


The problem is that I get back a (null) pointer for callback_result 
and not the string.
Any idea? The rebol call just returns a fixed a string at the end 
of the callback function.
Ok, as usal I just need to post my problem to solve it :-) I did 
return the string! from a wrong place. Works.
Robert
8-Aug-2011
[9354]
If I use an async callback from C to R3 and want to access the result 
from the Rebol callback on the C side, how do I find out, if the 
async-callback has been executed by R3?


If not, I think I need some kind of active waiting / polling on the 
C side until the callback was executed.
Kaj
8-Aug-2011
[9355]
I think the events system supports that
Robert
8-Aug-2011
[9356]
This works: if (GET_FLAG(cbi->flags, RXC_DONE)) {
shadwolf
12-Aug-2011
[9357x11]
reply to the statement of past month "No It's not in my imagination 
that rebol is a financial faillure. R3 isn't sold so how can it bring 
money ? r2 is less sold than 10 years ago it's a matter of fact...Last 
point Carl had no remorse to take another job and disapear without 
announcing it publically... This is just basic respect  you say goodbye 
 when you leave ..."
seeing the glass of water half empty or half full don't changes the 
core truth of it's nature ... the glass only contains half of it 
of the liquid it could contain as maximum :).
I'm tired  of being over optimistic and supportive and see the poor 
results that brings ...
you take carl's abandon as you want so let me free to interprete 
it as I want too and on my own point of view what he did is a slap 
in our face ...
Carl could not do anything worst to rebol ... and neither the less 
it was a logical conclusion of a pharaonic oneman driven project...
expressing my opinion is all Carl eventually allowed us when it comes 
to direct interaction to rebol/core  all what isn't rebol/core deeply 
related was cut short by carl ...
now can we ask why and hope to have a frantic reply on that matter 
or  do we have to play happy face   forever ?
by the way banning me from here will just have as effect to had my 
name to the over long long list of people that don't express anything 
anymore for rebol ...
118 people camed here since 1th january, 67 people of them camed 
since 1st agust
this is what our community is in 2011 ...
I see the other language grow I see rebol shrink. Can I ask what 
you really plan to do to change this ?
Kaj
12-Aug-2011
[9368]
Everyone agrees the situation is bad. That's no reason to make it 
worse by fighting over exactly how bad. Besides, it's old news. Several 
of us are moving on
shadwolf
12-Aug-2011
[9369x4]
rebol shrink  this is a fact too look how much brillant things were 
abandonned in those past 5 years sacrificed on the altar of progress 
to feed r3. But r3 is it really a progress ... I like some of the 
things in it ... as much as I could see them when Carl presented 
them  like the new trace function but sincerely I never used it ... 
and sincerely I never used r3 ... I don't even understand why the 
r2 console was abandonned ... and replaced by the cheapest possible 
less elegant solution ...
Kaj  I don't think I make things worst I thing most of the people 
here just don't give a damn ...  but if you are at a state were you 
refuse any discution to try to find a solution  to our current problem 
... Can we set RMA R3GUI to have as main goal to propose a concrete 
thing like for example "a rebol console based on their library in 
octobre"
?
can we show concretly that carl is wrong to be AWAY undefinatly from 
rebol ? Can rebol survive this  or will rebol community be tired 
and bring a community project that will continue what ever Carl do 
to bring the interest back to rebol?
Kaj
12-Aug-2011
[9373]
If you keep placing demands on things you have no control over, you 
will keep being disappointed
shadwolf
12-Aug-2011
[9374]
Kaj it's been 10 years now I'm around rebol  and  last time this 
very people talked about creating a fork of rebol that could standalone 
as a relevent project with a true future it was  before Carl anouncing 
the r3 projet and already in that time  Carl was went missing without 
news to hear.
Kaj
12-Aug-2011
[9375]
I know; what's your point?
shadwolf
12-Aug-2011
[9376x2]
so Carl came at that time with the r3 project motivate us around 
it gived us hopes and 5 years later we are in the worst situation 
... And we are back at the initial stage "carl is missing we need 
another solution to make rebol granted a futur independently of Carl"
my point is that I really fear all the actual project to be nothing 
more than oneshots that runs short and disapear after Carl brillant 
return to announce on his all mighty goodness he will reboot rebol 
and do r4 :)
Kaj
12-Aug-2011
[9378]
I know, I was there. And we have that solution now
shadwolf
12-Aug-2011
[9379]
Kaj yeah but in that time we had some solutions too freebe and r# 
and you own project before boron  ...
Kaj
12-Aug-2011
[9380]
You seem to think I did a clone project, but I never did
shadwolf
12-Aug-2011
[9381x2]
I mean spinoff existed yet and they runed short because of carl promesses 
can we say at least that this kind of thing is over and that what 
ever happend those actual spin off project will perdurate as real 
intent to break through and break free ?
you didn't do boron and the one before it ? I didn't said clones 
I said spinoff
Kaj
12-Aug-2011
[9383]
You seem to be confusing me with Karl Robillard for quite some time
shadwolf
12-Aug-2011
[9384]
possible
Kaj
12-Aug-2011
[9385]
The way I see it, it's fairly simple. We have no control over REBOL. 
The clones are open source, so we do have control over them. If they 
go nowhere, it must be because we're not interested in them, so we 
would only have ourselves to blame, which is much different from 
REBOL
shadwolf
12-Aug-2011
[9386]
those letters here are so small I can take a j for a l
Kaj
12-Aug-2011
[9387]
There's also an extra R, and if you click on me, you can even see 
my surname
shadwolf
12-Aug-2011
[9388]
Kaj exactly ...  and that's already my case  I will not spend all 
my free time trying to bring up a langage that its author will abandone 
... basically that's why I stoped participating in rebol
Kaj
12-Aug-2011
[9389]
That's logical, but open source is different
shadwolf
12-Aug-2011
[9390]
opensource was the case for the other rebol intent ... as far as 
I know they never succeed in creating a motion around them ... and 
some were really interesting
Kaj
12-Aug-2011
[9391]
Yes, so we have ourselves to blame for that
shadwolf
12-Aug-2011
[9392]
yeah but we don't ...
Kaj
12-Aug-2011
[9393]
But if you don't see motion around Red, even more is wrong with your 
eyes ;-)
shadwolf
12-Aug-2011
[9394x7]
we do as those never happend and we go on ... same discution over 
and over and over ... even the guy spam his love for jesus growed 
tired of it :)
Kaj I see motion around red  ... and red is really different from 
rebol ...
and I don't understand red ... well I didn't spent too much time 
on it and I don't want to hum be more of  a SoB that I am ... I can 
say I like 3 things in rebol code efficient and short, one small 
VM to do everything, the console to code interactively ... and I 
think this part was underestimated by carl in r3  ...
one of my dream is to have a programing code that allow you to live 
code and see the result of it ... something like the wysiwyg interface 
for the documents formated texts
it's hard to express ... but I really like the possibility to test 
live in the console bunch of codes before integrating in my code 
structures ...
I think over all the language I use or used rebol is the closest 
to this ...
ok so enough of me ranting for this month see you in september if 
I didn't totally forget about rebol til then ( I know you would all 
be over rejoiced by that eventuality :) )