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

World: r3wp

[View] discuss view related issues

Maxim
16-Dec-2011
[10713]
its possible that the window stores its active state in the flags 
block, if this is the case could also tl
Henrik
16-Dec-2011
[10714]
that would happen from mezzanine code?
Maxim
16-Dec-2011
[10715x3]
... could also loop thru all faces in screen-face/pane.    but I 
don't know if view actually stores the active state anywhere.
adding the event handler is very easy from mezz code.  its basically 
like a detect function, but executed at the screen level.   the face 
you receive is a window.
IIRC its executed within do event (so its run from within the wake-event).


if you are already patching view's wake-event, that would be another 
place to put it.
Endo
4-Jan-2012
[10718]
RIM.r script on rebol.org (RIM - REBOL Instant Messenger) crashes 
the REBOL process on Windows (R2)
http://www.rebol.org/view-script.r?script=rim.r&sid=hhim88gr
GrahamC
4-Jan-2012
[10719]
Worked for me when I used it .. have you tried a version of rebol 
from when the script was written?
Endo
4-Jan-2012
[10720x2]
Nope, I tried only with R2/view 2.7.8.3.1
But I found the crashed part, on line 251:

face/text: bud: pick users count  ;crash!, PICKing from users is 
ok, setting face/text crashes.

users is a block of something strange:
users/1 == <script type="text/javascript"> <!--
    top.location="http://www.reboltech.com/?fp=BSODCy... 


I think something changed on the server and return value is not a 
text anymore, so setting it to face/text lead to crash.
Another crash I found:
get-modes system/ports/system 'port-modes
others don't crash: 'network-modes, 'file-modes, 'copy-modes
sqlab
5-Jan-2012
[10722]
no crash here WinXP, Rebol 2.7.8
Endo
5-Jan-2012
[10723]
Strange, I tried several times on my XP/Home it crashed everytime. 
But no crash on my XP/Pro.
GrahamC
5-Jan-2012
[10724]
As admin?
Endo
5-Jan-2012
[10725]
Yes as Admin on both.
Reichart
7-Jan-2012
[10726]
Anyone happen to have a copy of  the self modifying program I wrote 
in REBOL years ago?  The one tht displays itself, and then lets you 
modify itself?
Steeve
7-Jan-2012
[10727]
what is the generic name for such program already ?
Sunanda
7-Jan-2012
[10728]
A program that displays itself is a quine.
Some in the library, but none from Reichart
    www.rebol.org/search.r?find=quine
Reichart
7-Jan-2012
[10729]
No, I did not put it in the lib, although I think Greg may have done 
another version of what I wrote and submitted it.

John too played with it and did something as well.  It is not a big 
deal, I can rewrite it , was just hoping to have the original, I 
might still have it somewhere.
Ladislav
8-Jan-2012
[10730]
The quines in the library are string-based. That is not how the scripts 
in Rebol should look, as the documentation suggests. There were other 
sources of REBOL quines, I remember putting a couple of quines somewhere 
too, but it seems, that the corresponding pages have been either 
taken down or "cleaned" by some zealot.
Geomol
8-Jan-2012
[10731]
If it's me "John", then I don't remember atm. If it comes back, I'll 
say so.
Gabriele
8-Jan-2012
[10732x2]
Reichart, I think I wrote one of those. (I think we were talking 
here, and I threw something together so that we could play with it.)
Maybe I have it in some old archive. Let me know if I should search.
Gregg
9-Jan-2012
[10734]
Didn't turn it up here.
GrahamC
9-Jan-2012
[10735x2]
Some quines were posted to the mailing list
Maybe the ones in question were on earlier incarnations of this world
Sunanda
9-Jan-2012
[10737]
Nothing relevant in my copy of the original REBOL world, nor its 
short-lived sucessor REBOL2,

Nothing obvious on the Mailing list archive -- that goes back to 
mid-2000 which, I think, predates Reichart's involvement with REBOL.
GrahamC
9-Jan-2012
[10738]
Rechart's involvement with Rebol predates Rebol ! lol
Davide
25-Jan-2012
[10739]
Nice !

p: 0x0 img: make image! [200x200]

loop 100000 [poke img p red p: (pick [100x0 0x200 200x200] random 
3) + p / 2]
view layout [image img]
Endo
26-Jan-2012
[10740:last]
Very nice!