[REBOL] Re: [The Gimp] clashes with REBOL on Windows 2000

2004-05-02 Thread bry
well this is sort of weird, I don't have a 
home environment variable, and rebol seems 
to work fine. 
> 
> Hi all,
> 
> when I tried to install The Gimp on 
Windows 2000 I found out that there is a
> clash with REBOL.
> I've set the environment variable HOME to 
point to the REBOL/View
> executable.
> However, The Gimp seems to take HOME as 
it's place to write user dependent
> info and tries to create directories and 
files at that place.
> 
> Does anybody know whether there is an 
alternative name for HOME to point to
> the REBOL stuff, or to direct The Gimp 
elsewhere?
> 
> I already tried to remove HOME 
temporarily, then letting The Gimp create
> it's stuff (now in an appropriate user 
dependent place). When I then start
> The Gimp later it works fine. However, 
when I reintroduce HOME, The Gimp
> gets lost again and wants to use HOME 
again.
> 
> Met vriendelijke groet / with kind regards,
>Arie van Wingerden
> http://home.zonnet.nl/rebolution/
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: [Plugin] is cool

2004-04-22 Thread bry
actually it might be good to have a plugin 
script that kept track of all plugin scripts 
in the library, and then you could use that 
script to set the LaunchUrl parameter of the 
object tag using do-browser.  
> 
> The javascripts I was referring to, must 
be _inside_ the rebol code. So all I need to 
do
to test misc. rebol code as plugins, is to 
provide the LauncURL parameter to the
OBJECT-tag. Works quite well, actually.
> 
> HY
> 
> Dixit [EMAIL PROTECTED] (11.05 22.04.2004):
> >right but if you want to set up something 
> >that allows you just to test unknown 
rebol 
> >scripts as pluggable.   
> >> 
> >> Dixit [EMAIL PROTECTED] (20.41 21.04.2004):
> >> >I guess there should be an error try 
on 
> >that 
> >> >do-browser right?
> >> 
> >> Good idea, although I've never had any 
> >problems.
> >> 
> >> HY
> >> 
> >> 
> >> >> 
> >> >> Hi,
> >> >> 
> >> >> The plugin module for MSIE is cool. 
And 
> >> >with the javascript access to the 
> >browser's 
> >> >DOM
> >> >tree, interesting things can be done.
> >> >> 
> >> >> I've added a feature to the rix 
search 
> >> >engine: plug the scripts in directly. 
So 
> >if 
> >> >you get
> >> >"plugable" results from a search (e.g. 
> >> >http://www.oops-as.no/rix?
> >q=plugin&st=sfh), 
> >> >there
> >> >will be a link with the words "plug it 
> >in!". 
> >> >Once you click it, you get to see the 
> >script
> >> >as a plugin right away.
> >> >> 
> >> >> But.
> >> >> 
> >> >> How can I know the width and height 
> >> >parameters of all rebol scripts? I 
can't. 
> >> >But these
> >> >parameters can be set from inside a 
> >plugin 
> >> >script thanks to 'do-browser. Here's 
how 
> >you 
> >> >do
> >> >it:
> >> >> 
> >> >> do-browser {document.getElementById
> >> >('RPluginIE').width=100;
> >> >document.getElementById
> >> >('RPluginIE').height=100;}
> >> >> 
> >> >> This example sets both width and 
height 
> >to 
> >> >100 pixels. (Isn't it funny how rebol 
in 
> >this
> >> >case must use a javascript to set it's 
> >own 
> >> >parameters?) Width and height should 
of 
> >> >course
> >> >be whatever suits your script best. If 
> >all 
> >> >scripts contained these lines, my new 
rix
> >> >feature would be even cooler...  For 
> >those 
> >> >who would like to have your scripts 
> >indexed,
> >> >but not plugged in, consider this:
> >> >> 
> >> >> do-browser 
> >> >
> >
{top.location.href="http://www.rebol.net/plug
> >> >in/demos/anamonitor.html";}
> >> >> 
> >> >> OK, time to go to bed.
> >> >> HY
> >> >> 
> >> >> Prætera censeo Carthaginem esse 
delendam
> >> >> 
> >> >> 
> >> >> -- 
> >> >> To unsubscribe from this list, just 
> >send 
> >> >an email to
> >> >> [EMAIL PROTECTED] with 
> >unsubscribe 
> >> >as the subject.
> >> >> 
> >> >> 
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >-- 
> >> >To unsubscribe from this list, just 
send 
> >an email to
> >> >[EMAIL PROTECTED] with 
unsubscribe 
> >as the subject.
> >> 
> >> Prætera censeo Carthaginem esse delendam
> >> 
> >> 
> >> -- 
> >> To unsubscribe from this list, just 
send 
> >an email to
> >> [EMAIL PROTECTED] with 
unsubscribe 
> >as the subject.
> >> 
> >> 
> >
> >
> >
> >
> >
> >-- 
> >To unsubscribe from this list, just send 
an email to
> >[EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> Prætera censeo Carthaginem esse delendam
> 
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: [Plugin] is cool

2004-04-22 Thread bry
I'm thinking we must be miscommunicating, if 
UI write a script that is pluggable but I 
want it to run non-plugged in most cases 
then I should add in an error try to check 
if do-browser works. actually i haven't 
checked the newest version of the plugin, 
been working, but IIRC earlier versions 
crashed if one tried to try do-browser for 
errors. 
> 
> The javascripts I was referring to, must 
be _inside_ the rebol code. So all I need to 
do
to test misc. rebol code as plugins, is to 
provide the LauncURL parameter to the
OBJECT-tag. Works quite well, actually.
> 
> HY
> 
> Dixit [EMAIL PROTECTED] (11.05 22.04.2004):
> >right but if you want to set up something 
> >that allows you just to test unknown 
rebol 
> >scripts as pluggable.   
> >> 
> >> Dixit [EMAIL PROTECTED] (20.41 21.04.2004):
> >> >I guess there should be an error try 
on 
> >that 
> >> >do-browser right?
> >> 
> >> Good idea, although I've never had any 
> >problems.
> >> 
> >> HY
> >> 
> >> 
> >> >> 
> >> >> Hi,
> >> >> 
> >> >> The plugin module for MSIE is cool. 
And 
> >> >with the javascript access to the 
> >browser's 
> >> >DOM
> >> >tree, interesting things can be done.
> >> >> 
> >> >> I've added a feature to the rix 
search 
> >> >engine: plug the scripts in directly. 
So 
> >if 
> >> >you get
> >> >"plugable" results from a search (e.g. 
> >> >http://www.oops-as.no/rix?
> >q=plugin&st=sfh), 
> >> >there
> >> >will be a link with the words "plug it 
> >in!". 
> >> >Once you click it, you get to see the 
> >script
> >> >as a plugin right away.
> >> >> 
> >> >> But.
> >> >> 
> >> >> How can I know the width and height 
> >> >parameters of all rebol scripts? I 
can't. 
> >> >But these
> >> >parameters can be set from inside a 
> >plugin 
> >> >script thanks to 'do-browser. Here's 
how 
> >you 
> >> >do
> >> >it:
> >> >> 
> >> >> do-browser {document.getElementById
> >> >('RPluginIE').width=100;
> >> >document.getElementById
> >> >('RPluginIE').height=100;}
> >> >> 
> >> >> This example sets both width and 
height 
> >to 
> >> >100 pixels. (Isn't it funny how rebol 
in 
> >this
> >> >case must use a javascript to set it's 
> >own 
> >> >parameters?) Width and height should 
of 
> >> >course
> >> >be whatever suits your script best. If 
> >all 
> >> >scripts contained these lines, my new 
rix
> >> >feature would be even cooler...  For 
> >those 
> >> >who would like to have your scripts 
> >indexed,
> >> >but not plugged in, consider this:
> >> >> 
> >> >> do-browser 
> >> >
> >
{top.location.href="http://www.rebol.net/plug
> >> >in/demos/anamonitor.html";}
> >> >> 
> >> >> OK, time to go to bed.
> >> >> HY
> >> >> 
> >> >> Prætera censeo Carthaginem esse 
delendam
> >> >> 
> >> >> 
> >> >> -- 
> >> >> To unsubscribe from this list, just 
> >send 
> >> >an email to
> >> >> [EMAIL PROTECTED] with 
> >unsubscribe 
> >> >as the subject.
> >> >> 
> >> >> 
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >-- 
> >> >To unsubscribe from this list, just 
send 
> >an email to
> >> >[EMAIL PROTECTED] with 
unsubscribe 
> >as the subject.
> >> 
> >> Prætera censeo Carthaginem esse delendam
> >> 
> >> 
> >> -- 
> >> To unsubscribe from this list, just 
send 
> >an email to
> >> [EMAIL PROTECTED] with 
unsubscribe 
> >as the subject.
> >> 
> >> 
> >
> >
> >
> >
> >
> >-- 
> >To unsubscribe from this list, just send 
an email to
> >[EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> Prætera censeo Carthaginem esse delendam
> 
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: [Plugin] is cool

2004-04-22 Thread bry
right but if you want to set up something 
that allows you just to test unknown rebol 
scripts as pluggable.   
> 
> Dixit [EMAIL PROTECTED] (20.41 21.04.2004):
> >I guess there should be an error try on 
that 
> >do-browser right?
> 
> Good idea, although I've never had any 
problems.
> 
> HY
> 
> 
> >> 
> >> Hi,
> >> 
> >> The plugin module for MSIE is cool. And 
> >with the javascript access to the 
browser's 
> >DOM
> >tree, interesting things can be done.
> >> 
> >> I've added a feature to the rix search 
> >engine: plug the scripts in directly. So 
if 
> >you get
> >"plugable" results from a search (e.g. 
> >http://www.oops-as.no/rix?
q=plugin&st=sfh), 
> >there
> >will be a link with the words "plug it 
in!". 
> >Once you click it, you get to see the 
script
> >as a plugin right away.
> >> 
> >> But.
> >> 
> >> How can I know the width and height 
> >parameters of all rebol scripts? I can't. 
> >But these
> >parameters can be set from inside a 
plugin 
> >script thanks to 'do-browser. Here's how 
you 
> >do
> >it:
> >> 
> >> do-browser {document.getElementById
> >('RPluginIE').width=100;
> >document.getElementById
> >('RPluginIE').height=100;}
> >> 
> >> This example sets both width and height 
to 
> >100 pixels. (Isn't it funny how rebol in 
this
> >case must use a javascript to set it's 
own 
> >parameters?) Width and height should of 
> >course
> >be whatever suits your script best. If 
all 
> >scripts contained these lines, my new rix
> >feature would be even cooler...  For 
those 
> >who would like to have your scripts 
indexed,
> >but not plugged in, consider this:
> >> 
> >> do-browser 
> >
{top.location.href="http://www.rebol.net/plug
> >in/demos/anamonitor.html";}
> >> 
> >> OK, time to go to bed.
> >> HY
> >> 
> >> Prætera censeo Carthaginem esse delendam
> >> 
> >> 
> >> -- 
> >> To unsubscribe from this list, just 
send 
> >an email to
> >> [EMAIL PROTECTED] with 
unsubscribe 
> >as the subject.
> >> 
> >> 
> >
> >
> >
> >
> >
> >-- 
> >To unsubscribe from this list, just send 
an email to
> >[EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> Prætera censeo Carthaginem esse delendam
> 
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Web Services Journal

2004-04-21 Thread bry
and your point, in regards to Rebol is??
> 
> 
>  http://www.sys-con.com/story/?
storyid=44354&DE=1
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: [Plugin] is cool

2004-04-21 Thread bry
I guess there should be an error try on that 
do-browser right?

> 
> Hi,
> 
> The plugin module for MSIE is cool. And 
with the javascript access to the browser's 
DOM
tree, interesting things can be done.
> 
> I've added a feature to the rix search 
engine: plug the scripts in directly. So if 
you get
"plugable" results from a search (e.g. 
http://www.oops-as.no/rix?q=plugin&st=sfh), 
there
will be a link with the words "plug it in!". 
Once you click it, you get to see the script
as a plugin right away.
> 
> But.
> 
> How can I know the width and height 
parameters of all rebol scripts? I can't. 
But these
parameters can be set from inside a plugin 
script thanks to 'do-browser. Here's how you 
do
it:
> 
> do-browser {document.getElementById
('RPluginIE').width=100;
document.getElementById
('RPluginIE').height=100;}
> 
> This example sets both width and height to 
100 pixels. (Isn't it funny how rebol in this
case must use a javascript to set it's own 
parameters?) Width and height should of 
course
be whatever suits your script best. If all 
scripts contained these lines, my new rix
feature would be even cooler...  For those 
who would like to have your scripts indexed,
but not plugged in, consider this:
> 
> do-browser 
{top.location.href="http://www.rebol.net/plug
in/demos/anamonitor.html";}
> 
> OK, time to go to bed.
> HY
> 
> Prætera censeo Carthaginem esse delendam
> 
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: how do i use set-net to tell my email server what my password is?

2004-04-18 Thread bry
no I want to send email through rebol. 
unfortunately my email account needs to have 
my password, also a username of name\domain 
instead of [EMAIL PROTECTED] which rebol quits on 
name\  
> I don't think you do this.
> Not a good idea to have your password in a
> standard location.
> 
> You just want to have rebol as a client, 
always ready
> to read email, not as a cgi, right?
> 
> Anton.
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] set-net crash with unusual account name

2004-04-18 Thread bry
Hi,
my email server seems to have unusual 
account names, these being in the form of 
name \ domain instead of [EMAIL PROTECTED]

I also need to have set-net have my login.



-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] how do i use set-net to tell my email server what my password is?

2004-04-18 Thread bry
as the subject says.



-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: system file icons

2004-03-29 Thread bry
as Icon is generally saved as a resource 
inside of a dll you can use the res protocol 
to access it: http://www.google.com/search?
hl=en&ie=UTF-8&oe=UTF-8&q=res+protocol

however using that from rebol is probably 
not doable.
> 
> Hi Max,
> 
> MOA> does anyone know how to get the 
images which are used for filetypes 
associations
> MOA> ?
> 
> Under Windows you'd probably need COM 
access to get at the
> IExtractIcon interface in the Shell 
extension system. Since we can't
> do COM, that method is out. You might be 
able to do it another way,
> definitely requiring library access, but 
it's likely to be a pain and,
> of course, totally non-portable to boot.
> 
> -- Gregg 
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] [Rebol/View dll] BgColor not work

2004-03-25 Thread bry
anyone get the BgColor param working, the 
following:


http://www.rebol.com/downloads/plug
in/rebolplugin.cab#Version=0,3,0

,0"
WIDTH="200" HEIGHT="700">
 



with a view form with the backcolor set to 
navy and the html body set to navy produces 
the image in the attached gif, i.e. plain 
white backgroun in the parts of the plugin 
not covered by my
form.


-- Binary/unsupported file stripped by Ecartis --
-- Type: image/gif
-- File: searchbar.gif


-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Rebol/View dll further errors

2004-03-25 Thread bry
I'm running version 3
This is a followup to the searchbar error 
Ive discussed before, I have that fixed now 
so that when I click on IE's Search button 
it loads the rebol script in the search bar. 

Unfortunately when I click on the customize 
search on the chrome for that window I get 
an error that crashes IE:

the error, from my logs is:


: 41 70 70 6c 69 63 61 74   Applicat
0008: 69 6f 6e 20 46 61 69 6c   ion Fail
0010: 75 72 65 20 20 69 65 78   ure  iex
0018: 70 6c 6f 72 65 2e 65 78   plore.ex
0020: 65 20 36 2e 30 2e 32 36   e 6.0.26
0028: 30 30 2e 30 20 69 6e 20   00.0 in 
0030: 72 65 62 6f 6c 70 6c 75   rebolplu
0038: 67 69 6e 2e 64 6c 6c 20   gin.dll 
0040: 30 2e 33 2e 30 2e 30 20   0.3.0.0 
0048: 61 74 20 6f 66 66 73 65   at offse
0050: 74 20 30 30 30 30 34 30   t 40
0058: 31 66 0d 0a   1f..



-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] how to do this better was Re: How to do a portion of a layout?

2004-03-25 Thread bry
okay I have the following:

  search-engines: make Object! [ 
 Google: ["http://www.google.com/search?
q=" "&btnG=Google+Search"] 

Dogpile:
["http://www.dogpile.com/info.dogpl/search/we
b/" ""] 
HotBot: ["http://www.hotbot.com/default.asp?
query=" 

"&ps=&loc=searchbox&tab=web&provKey=Inktomi"]
 
Vivisimo: ["http://vivisimo.com/search?
query=" "&sources=Web"] 
Alexa: ["http://www.alexa.com/search?q="; ""] 
Eurekster: ["http://www.eurekster.com/search?
p=Q&ts=e&f=&w=" ""]]

swords: next first search-engines
button-list: ""

v: 
{layout [
backdrop 219.219.219
across
  word_to_lookup: field 120 []
return
} 



buttons: foreach word swords[searchstring: 
get in search-engines word  
s1: pick searchstring 1 
s2: pick searchstring 2

append button-list reform[
{ button "} word {" [do-browser join ["} 
s1{" word_to_lookup/text "}s2{"]]
return   }

]
]

append v button-list
append v "]"

view do v

and I sort of find that whole buttons word 
to be really darn ugly. How would one do 
this in a cleaner manner, I don't mind if 
it's more verbose, I just want it to be a 
little bit more comprehensible without all 
that ugly escaping.

By the way, why does probe start the shell. 
And is there any smart stuff, or dumb stuff, 
that one could do starting the shell from 
the Rebol/View dll?



> 
> Hi, I'm trying to build a portion of a 
form 
> from a text string, this string at the end 
I 
> want to do and have my buttons etc. where 
> they should be.
> 
> The string certainly looks to be coming 
out 
> okay, but it doesn't seem that one can 
> have do b in the layout and then have the 
> form expanded. How does one go about doing 
> this.
> 
> 
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] How to do a portion of a layout?

2004-03-25 Thread bry

Hi, I'm trying to build a portion of a form 
from a text string, this string at the end I 
want to do and have my buttons etc. where 
they should be.

The string certainly looks to be coming out 
okay, but it doesn't seem that one can 
have do b in the layout and then have the 
form expanded. How does one go about doing 
this.



-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Rebol SearchBar in IE example

2004-03-24 Thread bry

Hi, I wanted to post the early demo of a 
searchbar for IE using the Rebol/View 
plugin, mainly cause I figure there are 
probably some people in this list who still 
use IE from time to time, and they might 
find it useful to extend. Then perhaps when 
the plugin in finished this would be a good 
demo to get people downloading rebol, 
obviously part of my incentive on this is my 
belief that system modifications, extensions 
are an area for which rebol is especially 
well suited in Windows, never more so with 
the plugin now available.

This demo consists of the following:

1. a html file hosting the plugin
2. the rebol script, which is basically 
Kevin Adams search center script adapted for 
running in the browser search bar and for 
using the plugin.
3. the registry settings to associate the 
html file with your search.



the html file is as follows:

-



function go(url){

window.open(url,"_main","");

}

function evaluate(code){
var tstring = eval(code);

return tstring;
}





http://www.rebol.com/downloads/plug
in/rebolplugin.cab#Version=0,3,0

,0"
WIDTH="200" HEIGHT="700">
 


---

the rebol script is as follows:
---

REBOL [
Title: "Search Center"
Date: 4-Nov-2001
Version: 1.2.2
File: %search2.r
Author: "Kevin Adams"
Adapted-by: {Bryan Rasmussen to run 
in IE as searchbar}
Needs: "REBOL View/Plugin Dll"
Purpose: {Searches various places,such 
as Google, without having to go to 
their website.}
Email: [EMAIL PROTECTED]
Notes: {A little source code take from 
Jos Yule's Dictionary Lookup 

program.}
library: [
level: none 
platform: none 
type: none 
domain: [other-net GUI web markup] 
tested-under: none 
support: none 
license: none 
see-also: none
]
] 




panel1: layout [ 
backdrop 219.219.219
across


return
   
h2 "Search" 28.52.86
return

word_to_lookup: field 120 [ 
] 
returnbutton "Google" 60 effect 
[gradient 0.0.0] [ 
do-browser join "go('" join 
["http://www.google.com/search?q="; 

word_to_lookup/text "&btnG=Google+Search"] "'
)"
]

return


button "Dogpile" 60 effect [gradient 
0.0.0] [ 
do-browser join "go('" join 

["http://www.dogpile.com/info.dogpl/search/we
b/" word_to_lookup/text ] "')"
]

return
button "HotBot" 60 effect [gradient 
0.0.0] [ 
   do-browser join "go('" join  

["http://www.hotbot.com/default.asp?query="; 
word_to_lookup/text 

"&ps=&loc=searchbox&tab=web&provKey=Inktomi"]
 "')"
]

return
button "Vivisimo" 60 effect [gradient 
0.0.0] [ 
   do-browser join "go('" join  
["http://vivisimo.com/search?query="; 

word_to_lookup/text "&sources=Web"] "')"
]
return
button "Alexa" 60 effect [gradient 
0.0.0] [ 
   do-browser join "go('" join  
["http://www.alexa.com/search?q="; 

word_to_lookup/text] "')"
]
]



panel1/offset: 0x0


  

view center-face 
panel1   

---

You will notice that I removed all the extra 
panels and such that were in the original 
script, as I considered that they got in the 
way when run within the browser. also I set 
there only to be one search field.

the registry settings:

--


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Intern
et Explorer\Search]
"SearchAssistant"="file://c:\\winnt\\web\\sea
rchbar.html"
"CustomizeSearch"="file://c:\\winnt\\web\\sea
rchbar.html"

-


note of course that you can put it the html 
file wherever you want but this is what I 
chose. 






-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Rebol/ View dll do-browser crashing browser

2004-03-22 Thread bry
Yes I do have the evaluate function.

 I was replacing browse with do-browser so 
that I could pass up code to the html page 
to load the page in the _main browser 
window. The search bar, which you see when 
you click on the search button on your 
browsers chrome, is in a window named 
_search, so if you want to open a page in 
the main window that called the search 
window you have to have the following:

window.open(url,"_main");


anyway I really don't understand how do-
browser should be affecting this, I mean 
that do-browser should only be called when I 
click on a button in the rebol view form. 

yet nonetheless if I start that page I get 
the errors outlined on loading the page, yet 
as also noted these errors are not 100% of 
the time, but around 70%. The most logical 
thing would be a memory leak somewhere, but 
my system doesn't seem to be using any 
excessive resources. 


> Hello! Two questions:
> 
> 1) Do you have the evaluate function in 
your HTML page code?
> 2) Why are you replacing browser with do-
browser? browse still works
> great for launching the web browser.
> 
> Josh
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:rebol-
[EMAIL PROTECTED] On Behalf
> Of [EMAIL PROTECTED]
> Sent: Sunday, March 21, 2004 7:12 AM
> To: [EMAIL PROTECTED]
> Subject: [REBOL] Rebol/ View dll do-
browser crashing browser
> 
> Hi, I was adapting Kevin Adams search2.r 
to 
> be a searchbar in explorer, pretty much I 
> just went through and replaced browse/only 
> with do-browser some extra joins, it works 
> only, not very often, about 70% of the 
time 
> it crashes the browser, if the browser 
opens 
> with the searchbar window open it crashes 
as 
> well basically if the searchbar crashes 
the 
> browser once, it will restart about 3-4 
> times before it stops crashing. 
> 
> I sort of find that annoying. 
> 
> now it was completely fine before I added 
in 
> do-browser, only then of course every time 
I 
> did a search and clicked on the button it 
> opened a new browser instance. So I assume 
> it has to be do-browser, only as one can 
see 
> from the code here do-browser is also 
called 
> by buttons being pushed:
> 
> 
> about: layout [ 
>  backdrop 219.219.219
>  h1 "Search Center" 28.52.86
>  text "Version 1.2.0"
>  text "written by Kevin Adams, 
> [EMAIL PROTECTED]" 
>  button "okay" [unview] 70x20 effect 
> [gradient 0.0.0] 
> ] 
> 
> win1: layout/size [ 
> backdrop 219.219.219
> h1 "Search Center" 28.52.86
> guide
> pad 20
> button "Section  One" [panels/pane: 
> panel1  show panels] 85x20 effect 
> 
> [gradient 0.0.0] 
> button "Section  Two" [panels/pane: 
> panel2  show panels] 85x20 effect 
> 
> [gradient 0.0.0] 
> button "About" [view/new center-face 
> about] 85x20 effect [gradient 0.0.0] 
> button "Quit" [quit] 85x20 effect 
> [gradient 0.0.0] 
> return
> box 2x270 28.52.86
> return
> panels: box 180x280
> ] 350x350 
> 
> panel1: layout [ 
> backdrop 219.219.219
> across
> 
> h2 "Dictionary Search" 28.52.86
> return
> 
> word_to_lookup2: field 120 [ 
>  ] 
>  button "Go" 30 effect [gradient 
> 0.0.0] [ 
> do-browser join "go('" 
join 
> 
> [http://www.m-w.com/cgi-bin/dictionary "?
> book=dictionary&va=" 
> 
> word_to_lookup2/text] "')"
> 
> ]
> 
> return
> h2 "Google Search" 28.52.86
> return
> 
> word_to_lookup3: field 120 [ 
> ] 
> button "Go" 30 effect [gradient 0.0.0] 
[ 
> do-browser join "go('" join 
> ["http://www.google.com/search?q="; 
> 
> 
word_to_lookup3/text "&btnG=Google+Search"] "
> ')"
> ]
> 
> return
> h2 "Yahoo Search" 28.52.86
> return
> 
> word_to_lookup6: field 120 [ 
> ] 
> button "Go" 30 effect [gradient 0.0.0] 
[ 
> do-browser join "go('" join  
> ["http://search.yahoo.com/bin/search?p="; 
> 
> word_to_lookup6/text ] "')"
> ]
> 
> return
> h2 "Slashdot Search" 28.52.86
> return
> 
> word_to_lookup1: field 120 [ 
> ] 
> button "Go" 30 effect [gradient 0.0.0] 
[ 
>do-browser join "go('" join  
> 
> ["http://slashdot.org/search.pl?
> query="word_to_lookup1/text ] "')"
> ]
> 
> ]
> 
> panel2: layout [
> backdrop 219.219.219
> across
> 
> return
> h2 "Image Search" 28.52.86
> return
> 
> word_to_lookup4: field 120 [ 
> ] 
> button "Go" 30 effect [gradient 0.0.0] 
[ 
> do-browser join "go('" join 
> 
> ["http://images.google.com/images?
num=20&q=" 
> word_to_lookup4/text 
> 
> "&btnG=Google+Search"] "')"
> ]
> 
> return
> h2 "Usenet Search" 28.52.86
> return
> 
> word_to_lookup5: field 120 [ 
> ] 
> button "Go" 30 effect [gradient 0.0.0] 
[ 
>do-browser join "go('" join  
> ["http://groups.google.com/groups?q="; 
> 
> 
word_to_lookup5/text "&hl=&btnG=Google+Search
> "] "')"
> ]
> 
> return
> h2 "eBay Search" 28.52.86
> return
> 
> word_to_lookup7: field 120 [ 
> ] 
> button "Go" 30 effect [gradient 
0.0.0]  
> [ 
>do-browser join "go('" join

[REBOL] Re: HTML/Javascript vs REBOL plugin (was Re:

2004-03-21 Thread bry
well my comment was originally in reference 
to a filetype:r rebol search on google. this 
returns some documents that are scripts, but 
also documents that just happen to have 
the .r extension. so all that would be 
needed to weed something like that out would 
be something like filetype:r rebol not-
mime:text/html

cause the chance of an r file (http://www.r-
project.org/) referencing rebol is pretty 
minimal I figure. 

> Dixit [EMAIL PROTECTED] (11.25 21.03.2004):
> >actually all it would need is if one 
could 
> >do searches against MIME type. don't 
think 
> >google offers that yet, but there may be 
> >other search engines that do. 
> 
> I had a mime type setting on the rix 
search, but omitted it when I put in the 
different
options for searches in REBOL headers. If 
there's an interest for it, I'll put it back 
in.

> 
> Rebol scripts don't always come with the 
same mime type (from different servers?). I 
have
seen text/plain, application/octet-stream 
and text/x-rebol, just to mention a few. So I
would have to do some hacks, but it 
shouldn't be difficult, though.
> 
> HY
> 
> Prætera censeo Carthaginem esse delendam
> 
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] whois microsoft.com?

2004-03-21 Thread bry
hmm, whoishost: to-string read rejoin 
[whois:// host "@rs.internic.net"]
gives some funny info if I input host as 
microsoft.com

but if I go to internic.net I seem to get 
what I'm supposed to. 
http://reports.internic.net/cgi/whois?
whois_nic=microsoft.com&type=domain


-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: CitrusWeb sample - so you want to edit?

2004-03-21 Thread bry
> 
> > Hopefully REBOLers will create some jaw-
dropping apps that bring about a
> > broad-scale re-evaluation of REBOL's 
great capabilities.
> 
> This is what I hope/expect.  This is what 
I aim bloodstone to be.  since many
> rpg players ARE programmers, then it might 
convert some of them, when they see
> just how powerfull rebol really CAN be.
> 
> 

Well the way I use Rebol is pretty much for 
simple scripts, for various reasons - some 
licensing based, some capabilities based - I 
don't find it interesting to build big 
solutions in. I want Rebol to be useful for 
basically hacking whatever system I'm on. 
Because of this I naturally expect that the 
way to get other people interested in Rebol 
is to show them ways they can rather quickly 
hack the system they're on. As such the 
plugin doesn't interest me so much as 
something running on a website, it interests 
me as something running locally interacting 
with the browser or other parts of windows 
that uses the browser's rendering engine. 

examples:

The IE search bar
Outlook's html rendering engine
Custom built toolbars and toolbutton 
integration (of which I have a small example 
running on my system, hoping to make public 
in the next week)
IE context menu calling rebol functions
htt webfolder views integrated with rebol
Active Desktop (of which I have an example 
running)





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] rebol plugin version question?

2004-03-21 Thread bry
if my RebolPlugin.dll version is 0.1.0.0 
should my viewdll.dll still be
0.0.0.0?


-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Rebol/ View dll do-browser crashing browser

2004-03-21 Thread bry
here's one of the error reports I've had on 
this: 
Description:
The description for Event ID ( 1000 ) in 
Source ( Microsoft Internet Explorer ) 
cannot be found. The local computer may not 
have the necessary registry information or 
message DLL files to display messages from a 
remote computer. The following information 
is part of the event: iexplore.exe; 
6.0.2600.0; ntdll.dll; 5.0.2163.1; 0004b007.

Data
bytes:
: 41 70 70 6c 69 63 61 74   Applicat
0008: 69 6f 6e 20 46 61 69 6c   ion Fail
0010: 75 72 65 20 20 69 65 78   ure  iex
0018: 70 6c 6f 72 65 2e 65 78   plore.ex
0020: 65 20 36 2e 30 2e 32 36   e 6.0.26
0028: 30 30 2e 30 20 69 6e 20   00.0 in 
0030: 6e 74 64 6c 6c 2e 64 6c   ntdll.dl
0038: 6c 20 35 2e 30 2e 32 31   l 5.0.21
0040: 36 33 2e 31 20 61 74 20   63.1 at 
0048: 6f 66 66 73 65 74 20 30   offset 0
0050: 30 30 34 62 30 30 37 0d   004b007.
0058: 0a.   

words:
: 6c707041 74616369 206e6f69 6c696146
0010: 20657275 78656920 726f6c70 78652e65
0020: 2e362065 36322e30 302e3030 206e6920
0030: 6c64746e 6c642e6c 2e35206c 31322e30
0040: 312e3336 20746120 736f 30207465
0050: 62343030 0d373030 0a

you will notice that viewdll is not 
mentioned in the error, this is when the 
error occurs with the html page hosting view 
dll as a searchbar (if you want to check 
this out run the code shown earlier as an .r 
file referenced via an object from the html 
page, and load the html page into your 
searchbar by changing the following registry 
settings 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Interne
t Explorer\Search\CustomizeSearch and 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Interne
t Explorer\Search\SearchAssistant) to refer 
to the html page using the file:/// protocol

however if I load that same html page 
directly into the browser, and run a query 
it works, but if I then try to use the back 
button to go back to the preceding page 
hosting the Rebol dll I get the following:

Description:
The description for Event ID ( 1000 ) in 
Source ( Microsoft Internet Explorer ) 
cannot be found. The local computer may not 
have the necessary registry information or 
message DLL files to display messages from a 
remote computer. The following information 
is part of the event: iexplore.exe; 
6.0.2600.0; viewdll.dll; 0.0.0.0; 0001cd00.

Data
bytes:
: 41 70 70 6c 69 63 61 74   Applicat
0008: 69 6f 6e 20 46 61 69 6c   ion Fail
0010: 75 72 65 20 20 69 65 78   ure  iex
0018: 70 6c 6f 72 65 2e 65 78   plore.ex
0020: 65 20 36 2e 30 2e 32 36   e 6.0.26
0028: 30 30 2e 30 20 69 6e 20   00.0 in 
0030: 76 69 65 77 64 6c 6c 2e   viewdll.
0038: 64 6c 6c 20 30 2e 30 2e   dll 0.0.
0040: 30 2e 30 20 61 74 20 6f   0.0 at o
0048: 66 66 73 65 74 20 30 30   ffset 00
0050: 30 31 63 64 30 30 0d 0a   01cd00..

words:
: 6c707041 74616369 206e6f69 6c696146
0010: 20657275 78656920 726f6c70 78652e65
0020: 2e362065 36322e30 302e3030 206e6920
0030: 77656976 2e6c6c64 206c6c64 2e302e30
0040: 20302e30 6f207461 6573 30302074
0050: 64633130 0a0d3030 

So I think it is clear that the error is in 
fact running from View dll.


Any ideas? suggestions?



-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Rebol/ View dll do-browser crashing browser

2004-03-21 Thread bry
Hi, I was adapting Kevin Adams search2.r to 
be a searchbar in explorer, pretty much I 
just went through and replaced browse/only 
with do-browser some extra joins, it works 
only, not very often, about 70% of the time 
it crashes the browser, if the browser opens 
with the searchbar window open it crashes as 
well basically if the searchbar crashes the 
browser once, it will restart about 3-4 
times before it stops crashing. 

I sort of find that annoying. 

now it was completely fine before I added in 
do-browser, only then of course every time I 
did a search and clicked on the button it 
opened a new browser instance. So I assume 
it has to be do-browser, only as one can see 
from the code here do-browser is also called 
by buttons being pushed:


about: layout [ 
 backdrop 219.219.219
 h1 "Search Center" 28.52.86
 text "Version 1.2.0"
 text "written by Kevin Adams, 
[EMAIL PROTECTED]" 
 button "okay" [unview] 70x20 effect 
[gradient 0.0.0] 
] 

win1: layout/size [ 
backdrop 219.219.219
h1 "Search Center" 28.52.86
guide
pad 20
button "Section  One" [panels/pane: 
panel1  show panels] 85x20 effect 

[gradient 0.0.0] 
button "Section  Two" [panels/pane: 
panel2  show panels] 85x20 effect 

[gradient 0.0.0] 
button "About" [view/new center-face 
about] 85x20 effect [gradient 0.0.0] 
button "Quit" [quit] 85x20 effect 
[gradient 0.0.0] 
return
box 2x270 28.52.86
return
panels: box 180x280
] 350x350 

panel1: layout [ 
backdrop 219.219.219
across

h2 "Dictionary Search" 28.52.86
return

word_to_lookup2: field 120 [ 
 ] 
 button "Go" 30 effect [gradient 
0.0.0] [ 
do-browser join "go('" join 

[http://www.m-w.com/cgi-bin/dictionary "?
book=dictionary&va=" 

word_to_lookup2/text] "')"

]

return
h2 "Google Search" 28.52.86
return

word_to_lookup3: field 120 [ 
] 
button "Go" 30 effect [gradient 0.0.0] [ 
do-browser join "go('" join 
["http://www.google.com/search?q="; 

word_to_lookup3/text "&btnG=Google+Search"] "
')"
]

return
h2 "Yahoo Search" 28.52.86
return

word_to_lookup6: field 120 [ 
] 
button "Go" 30 effect [gradient 0.0.0] [ 
do-browser join "go('" join  
["http://search.yahoo.com/bin/search?p="; 

word_to_lookup6/text ] "')"
]

return
h2 "Slashdot Search" 28.52.86
return

word_to_lookup1: field 120 [ 
] 
button "Go" 30 effect [gradient 0.0.0] [ 
   do-browser join "go('" join  

["http://slashdot.org/search.pl?
query="word_to_lookup1/text ] "')"
]

]

panel2: layout [
backdrop 219.219.219
across

return
h2 "Image Search" 28.52.86
return

word_to_lookup4: field 120 [ 
] 
button "Go" 30 effect [gradient 0.0.0] [ 
do-browser join "go('" join 

["http://images.google.com/images?num=20&q="; 
word_to_lookup4/text 

"&btnG=Google+Search"] "')"
]

return
h2 "Usenet Search" 28.52.86
return

word_to_lookup5: field 120 [ 
] 
button "Go" 30 effect [gradient 0.0.0] [ 
   do-browser join "go('" join  
["http://groups.google.com/groups?q="; 

word_to_lookup5/text "&hl=&btnG=Google+Search
"] "')"
]

return
h2 "eBay Search" 28.52.86
return

word_to_lookup7: field 120 [ 
] 
button "Go" 30 effect [gradient 0.0.0]  
[ 
   do-browser join "go('" join 

["http://search.ebay.com/search/search.dll?
MfcISAPICommand=GetResult&ht=1&Sor

tProperty=MetaEndSort&query=" 
word_to_lookup7/text "&x=-567&y=-92"] "')"
]

return
h2 "Stock Quote" 28.52.86
return

word_to_lookup8: field 120 [ 
] 
button "Go" 30 effect [gradient 0.0.0] [ 
do-browser join "go('" join 
["http://finance.yahoo.com/q?s="; 

word_to_lookup8/text "&d=v3"] "')"
]

]

panel1/offset: 0x0
panel2/offset: 0x0

panels/pane: panel1

view center-face win1  



'go' is just a function in my javascript, as 
follows:
function go(url){

window.open(url,"_main","");

}

to get it to open in the new browser window. 

The helpful IE error message is:

---
iexplore.exe - Application Error
---
The instruction at "0x77fcb007" referenced 
memory at "0x00650070". The memory could not 
be "written".


Click on OK to terminate the program
---
OK   
---





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: HTML/Javascript vs REBOL plugin (was Re: CitrusWeb sample - so you

2004-03-21 Thread bry
actually all it would need is if one could 
do searches against MIME type. don't think 
google offers that yet, but there may be 
other search engines that do. 
> 
> On 21-Mar-04, [EMAIL PROTECTED] wrote:
> 
> > maybe you need to do this search: 
> > http://www.google.com/search?
hl=en&ie=UTF-
> > 8&oe=UTF-8&q=filetype%3Ar+rebol
> 
> The idea is to find a way for scripts to 
show up with standard
> searches, as well as to have the text in 
them searchable by Google. 
> So if you have comments in your REBOL 
header, searching for those
> comments will find the script.
> 
> -- 
> Carl Read
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: HTML/Javascript vs REBOL plugin (was Re: CitrusWeb sample - so you

2004-03-20 Thread bry
maybe you need to do this search: 
http://www.google.com/search?hl=en&ie=UTF-
8&oe=UTF-8&q=filetype%3Ar+rebol
> 
> On 20-Mar-04, Luke Orlando Emmet wrote:
> 
> > How would a 
> > rebsite (or a flashsite etc) get 
searched by Google??
> 
> >From a technical POV, a rebsite wouldn't 
be difficult for Google to
> search - it just needs to look at the 
script's header.  I doubt
> they'll bother till there's millions of 
scripts about though.
> 
> Out of curiousity, I've just been using 
Google to try and find REBOL
> scripts and a search for "rebol .r" 
(without the speechmarks) ranked
> my solar-sim reblet at 5.  Like it's had 
about 50 hits and been
> online for all of two weeks and it's at 
number 5 in a search for
> "rebol .r"?!?  It's also the first link 
shown with a .r extension.
> 
> So, what's different about my reblet?  
Well, because of the way my
> host handles REBOL scripts, (they have to 
have a .r extension), I
> couldn't have the reblet's page point to a 
script with a .r extension
> as it'd generate an error.  So I gave the 
script a .reblet extension
> and the reblet's page a .r instead 
of .html.  (Yes, it's a REBOL
> script too, hence its counter.)
> 
> Moral of the story?  HTML with a .r 
extension can get listed high by
> Google, whereas scripts with a .r 
extension don't seem to.
> 
> I'm now toying with the idea of changing 
the .reblet extension on the
> script to .html to see what happens. ;-)
> 
> -- 
> Carl Read
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Rebol/View dll errors with file location

2004-03-19 Thread bry
thanks, although it's not that big of an 
issue now that I found out how to do a 
direct path in the LaunchUrl param. The fact 
that it tried to put /C/ at the front of any 
exact path threw me cause I was of course 
putting /C/ at the front of my path. 
> 
> Thanks, this is a definite bug with the 
file:// protocol. It's on the
> fix list.
> 
> Josh
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:rebol-
[EMAIL PROTECTED] On Behalf
> Of [EMAIL PROTECTED]
> Sent: Thursday, March 18, 2004 3:39 PM
> To: [EMAIL PROTECTED]
> Subject: [REBOL] Rebol/View dll errors 
with file location
> 
> okay I have an interesting bug in the 
> plugin: I found this out cause I'm 
building 
> an explorer button, the button loads a 
html 
> page in IE's _search window using the 
> file:// protocol, so it refers to 
> file:///c:/winnt/web/toolbar.html?
location=a 
> string here; now if a string here is some 
> normal string like howdy everything is 
fine 
> but if it is an actual http:// path that 
> causes a real problem, causing the 
> Rebol/View dll shell to open up and ask me 
> to enter desktop :)
> 
> so doing some more experimenting I 
stripped 
> out the actual protocol part of my http 
path 
> and got the following:
> 
> ** Access Error: Cannot 
> open /C/WINNT/Web/testbar.html?
> 
location=localhost/sites/mmc_dotnet/testbar.r
> ** Near: do/args script system/script/args
> quit
> >>
> 
> I think if there is going to be working 
with 
> files in the browser environment which 
will 
> accept a file opened with the file 
protocol 
> with this syntax then  there should 
probably 
> be better handling of the conversion to 
> rebol path before an attempt is made to 
open 
> it.
> 
> Haven't tested but I wonder what the 
result 
> would be with a http url with the same 
> structure:
> 
> http://pathname?
> querystring=http://otherpathname
> 
> 
> 
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 
> 
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Rebol/View dll errors with file location

2004-03-18 Thread bry
okay I have an interesting bug in the 
plugin: I found this out cause I'm building 
an explorer button, the button loads a html 
page in IE's _search window using the 
file:// protocol, so it refers to 
file:///c:/winnt/web/toolbar.html?location=a 
string here; now if a string here is some 
normal string like howdy everything is fine 
but if it is an actual http:// path that 
causes a real problem, causing the 
Rebol/View dll shell to open up and ask me 
to enter desktop :)

so doing some more experimenting I stripped 
out the actual protocol part of my http path 
and got the following:

** Access Error: Cannot 
open /C/WINNT/Web/testbar.html?
location=localhost/sites/mmc_dotnet/testbar.r
** Near: do/args script system/script/args
quit
>>

I think if there is going to be working with 
files in the browser environment which will 
accept a file opened with the file protocol 
with this syntax then  there should probably 
be better handling of the conversion to 
rebol path before an attempt is made to open 
it.

Haven't tested but I wonder what the result 
would be with a http url with the same 
structure:

http://pathname?
querystring=http://otherpathname




-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Idea for rebol.org...

2004-03-18 Thread bry
actually I think Rebol.org should have a 
wiki underneath it. 
 
> Hi, using rebol.org quite often to get an 
overview about available code  
> and collect ideas the following idea 
striked me.
> 
> You know that I see fragmentation of 
efforts/information as one major  
> problem, which makes it hard for newbies 
to get into Rebol. Further  
> fragmentation slows down "professionalism" 
of Rebol for business markets.
> 
> Anyway, with rebol.org we have a very good 
reference point. At the moment  
> it's a portal to get access to scripts, 
someone owns and updates. Scripts  
> are independent. The library people 
introduced the idea of packages, so  
> now I can add collections of scripts that 
are related. But still it's only  
> a one-person show.
> 
> How about going to the next level? I would 
like to see a new section at  
> rebol.org, that contains a peer-reviewed 
library/framework following the  
> concept of the BOOST C++ library. We have 
a lot of very talented and  
> guru-level people here, to ensure high 
quality.
> 
> How can such a process look like?
> I see the peer-reviewed part of rebol.org 
made up be several levels.
>   - Strategy: What do we all need? 
What's the focus and priority?
>   - Research: What can we re-use, what 
ideas, concepts exist, what  
> succeeded?
>   - Concept : How should the 
design/usage/... look like?
>   - Development
>   - Review  : The Review-Board checks 
quality etc. on the delivered code and
>   integrates the code 
into the overall library.
> 
> What gets included depends on the need of 
the people. The strategy should  
> give a hint, for what is needed to achieve 
as much value as possible for  
> the community. Teams will either form to 
work on a topic or not. If not,  
> well, than it's not needed by many.
> 
> IMO this will result in a high quality 
library of code, that fits  
> together. And that's something we all 
miss. With the availability of the  
> browser-plugin, we can even go that far to 
create a  
> peer-review-library-application.
> 
> What do you think?
> 
> -- 
> Robert M. Münch
> Management & IT Freelancer
> Mobile: +49 (177) 245 2802
> http://www.robertmuench.de
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Announcement: REBOL/Plugin Beta-1 Released!

2004-03-13 Thread bry
close all browser instances (if you've tried 
to run the plugin in this session) go to 

%SYSTEM\Downloaded Program Files
and delete rebol /object plugin.
go back to the test page.

have noticed so far that the bgColor param 
does not seem to work that well.
> 
> On 13-Mar-04, Josh Mitts wrote:
> 
> > To experience the plugin for yourself, 
go to:
> 
> > 
http://www.rebol.net/plugin/tests/test.html
> 
> Is the plugin meant to update 
automatically?  As it didn't for me. 
> Obviously uninstalling the alpha version 
and going to the above would
> do the job, but is there an easier way?
> 
> -- 
> Carl Read
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: problems with REBOL/Plugin Beta-1 ?

2004-03-13 Thread bry
solved it
turned out that it had not automatically 
installed.
> well the new dll seems to function just 
the 
> same as the old dll for me:
> 
> this 
> 
> 
> 
> 
> function evaluate(code) { return 
eval
> (code); }
> 
> 
> 
> 
> 
>  
CODEBASE="http://www.rebol.com/plugin/rebolb1
> cab#Version=0,1,0,0"
> WIDTH="612" HEIGHT="324">
>  
> 
> 
> 
> 
> and this:
> 
> REBOL[
> Title: "rebplugin"
> ]
> loc: do-browser "document.all
> ('REBOL').offsetWidth"
> 
> 
> view layout[
> text loc
> 
> ]
> 
> gives the following error:
> 
> ** Script Error: do-browser has no value
> ** Near: loc: do-browser "document.all
> ('REBOL').offsetWidth"
> view layout
> >>
> 
> now I went to test.html on the rebol.net 
> site and it asked me if I wanted to 
download 
> and install the object, which I did. am 
> wondering if my having had the old object 
is 
> somehow screwing with the new
> installation.
> 
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] problems with REBOL/Plugin Beta-1 ?

2004-03-13 Thread bry
well the new dll seems to function just the 
same as the old dll for me:

this 




function evaluate(code) { return eval
(code); }





http://www.rebol.com/plugin/rebolb1
cab#Version=0,1,0,0"
WIDTH="612" HEIGHT="324">
 




and this:

REBOL[
Title: "rebplugin"
]
loc: do-browser "document.all
('REBOL').offsetWidth"


view layout[
text loc

]

gives the following error:

** Script Error: do-browser has no value
** Near: loc: do-browser "document.all
('REBOL').offsetWidth"
view layout
>>

now I went to test.html on the rebol.net 
site and it asked me if I wanted to download 
and install the object, which I did. am 
wondering if my having had the old object is 
somehow screwing with the new
installation.


-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] error? try load bad-path

2004-03-11 Thread bry

I have a situation where I'm converting a 
string to a path and loading it, in some 
situations this string can be a bad path, I 
want to catch that, so I put in this

patherr: error? try[load pass]
 either patherr = true[
  
] [
passlevel: load pass
passlevel: to-integer passlevel

]

unfortunately in the cases where I pass a 
bad path I get the following:

** Script Error: Invalid path value: skjjsjnf
** Where: do-boot
** Near: passlevel: to-integer passlevel
>>
 


-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: object2XML

2004-03-10 Thread bry
> 
> What do you wish to do with namespaces?  
They aren't at all as
> straightforward as they seem.  They get 
inherited, and the namespace
> prefixes can be reused within the nesting 
of the document all the while
> resolving to totally different namespace 
>URIs.
I believe this is what Joe English called 
psychotic namespacing. 

i've seen a lot of fucked up xml in my time, 
it's actually quite rare to see:

http://tag.com"; 
xmlns:t="http://tag.com";>

hi
http://nottag.com";>
hi




but it is of course possible, my perspective 
is to penalize that kind of structure, to 
optimize for more common structures and hell 
if it turns out in the middle of analyzing a 
structure that it is this kind of mess, to 
restart, so it takes longer, too bad. 

Also from a namespace point of view the 
prefix is absolutely meaningless, so one 
could in fact process the above with a 
namespace function that if it encountered a 
prefix the same as one it has encountered 
before but bound to a different namespace  
then all it has to do is to autogenerate a 
prefix, change the value in the block to 
that prefix, and move on. 

>  The namespace processing,
> if it has a chance, should be put into the 
parser itself and not in
> xml-to-object or in some higher level 
processing.  Adding in a namespace
> aware SAX2-style handler into parse-xml is 
IMHO the only workable way to
> go.
Well I don't agree. for reasons given in 
other post and this one. 



-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: object2XML

2004-03-10 Thread bry
> 
> What do you wish to do with namespaces?  
They aren't at all as
> straightforward as they seem.  They get 
inherited, and the namespace
> prefixes can be reused within the nesting 
of the document all the while
> resolving to totally different namespace 
URIs.  The namespace processing,
> if it has a chance, should be put into the 
parser itself and not in
> xml-to-object or in some higher level 
processing.  Adding in a namespace
> aware SAX2-style handler into parse-xml is 
IMHO the only workable way to
> go.

I'm talking about having a library of 
functions that call parse-xml that then do 
the namespace conformance checking, why 
would this be a good idea?

1. xml version 1.0 does not have any 
connection to the namespace specification
(there is the following note from the 
current version of the spec: The Namespaces 
in XML Recommendation [XML Names] assigns a 
meaning to names containing colon 
characters. Therefore, authors should not 
use the colon in XML names except for 
namespace purposes, but XML processors must 
accept the colon as a name character. Which 
most processors do not accept the colon as a 
name character without a namespace 
declaration but as can be seen from the text 
above that is incorrect), therefore one can 
in fact have xml documents that have 
elements called blah:text and have those 
documents be well-formed, although of course 
that is not industry standard practice (but 
if you examine the svg put out by 
Illustrator, Photoshop etc. you will notice 
that when an xlink: namespace prefix is used 
there is no xlink namespace declaration in 
the document[this of course violates the 
xlink spec but not the xml spec]).

Because of this it might be preferable to 
layer the namespace handling in such a way 
that one can build sricter levels of 
specification(s) conformance.
 
> > Of course it should be noted that the 
> > namespaces are placed in a block with 
the 
> > attributes but I don't think that is a 
major 
> > problem although there should of course 
be 
> > functions for returning just attributes 
> > without namespaces. 
> > 
> 
> But that's the thing: namespace 
declarations *look* like attributes, but
> they really aren't as far as XML is 
concerned.  They need to be treated
> specially.
> 
hence my making a differentiation between 
them in my post. Again, to a straight 
conformant xml 1.0 processor that an 
attribute is called xmlns:hi means 
absolutely nothing. To a processor that 
understands both namespaces and xml 1.0 it 
does mean something. Therefore, again, I 
suppose that it is maybe useful to keep 
namespace handling as functions seperate 
from parse-xml.




> > What I find more irritating is the 
textnodes:
> > 
> > I have 4 textnodes:
> > 
> > "^/stuff here ^/"
> > ["more"]
> > "^/"
> > and again
> > "^/"
> > 
> > now none is used in an empty tag, 
but "^/"
> > is used for any empty textnode, and "^/
> > string^/" seems to be used for any 
textnode 
> > that has a sibling node, whereas 
textnodes 
> > that are only children are represented 
as a 
> > block with one string value. it would 
> > probably be better to just do that as 
> > another ["^/string value^/"]
> > 
> 
> It depends what you want.  Dropping any 
whitespace is a decision that can
> only be made by the processing application 
and not the parser.  The
> parse-xml+ code has a set of default 
handlers, but you could choose to
> implement your own.  xml-to-object is 
intended to work with "data" styles
> of XML and hence whitespace is more easily 
discarded in such XML without
> too much risk.

Again that was not what I was complaining 
about, I found the difference between how a 
textnode was represented disconcerting for 
the usage of a more strict parser built on 
top of parse-xml. It seems to me 
that "^/string value here" is a reasonable 
way to signify that a node is a textnode, 
since an element name can't start with a ^
and one would just not check to see if a 
node were a textnode or element inside of an 
attribute block. 
NOTE: again, this is discussing the 
possibilty of a generic xml processing 
library of functions on top of parse-xml. so 
that you could have a strip-empty-text func 
that takes an rebolxmldom parameter, and 
returns the rebolxmldom at the end with all 
empty textnodes stripped out. 


> > 
> > One of the things that should probably 
be 
> > considered for any functions for working 
> > with xml in rebol is optimizations for 
> > working with various types of xml, for 
> > example a document like structure such 
as we 
> > see above (for which I would say the 
rule is 
> > that a document structure has multiple 
> > textnodes, that an element which has as 
a 
> > direct child a textnode and an element 
is a 
> > document structure) as opposed to the 
more 
> > programmer friendly data type structure:
> > 
> 
> Agreed, the decisions about "optimizing" 
have to be done in light of the
> type of XML you're processing and at a 
processing level above the parser,

[REBOL] Re: object2XML

2004-03-09 Thread bry
Well I'm reasonably knowledgable in matters 
of xml usage, etc. although my rebol 
knowledge is shit, given that I just use it 
for small scripting hacks here and there

 if I use gavin's xml-object and a function 
to clean-up the output a bit:

doc-tree: func[unpickedDom][pick third 
unpickedDom 1]

I get

>> xmldom: parse-xml read %t.xml
XML Version: 1.0
== [document none [["tag" 
["r" "here" "xmlns:stuff" "http://www.x.com";]
 ["^/stuff here ^/" ["stuff:p" ["hi" "test"] 
[["blah" n
one [...
>> t: doc-tree xmldom
== ["tag" 
["r" "here" "xmlns:stuff" "http://www.x.com";]
 ["^/stuff here ^/" ["stuff:p" ["hi" "test"] 
[["blah" none ["more"
"^/" ...

t is actually
["tag" 
["r" "here" "xmlns:stuff" "http://www.x.com";]
 ["^/stuff here ^/" ["stuff:p" ["hi" "test"] 
[["blah" none ["more" "^/
" ["blah" none none] "^/"]]

now in this case I don't think the 
namespaces are a problem, I don't understand 
xml-object well enough to know if it fails 
on namespace problems, but a namespace 
function could be built easily enough to go 
through the block getting all referenced 
namespaces and checking against those 
references whenever a usage is encountered. 

Of course it should be noted that the 
namespaces are placed in a block with the 
attributes but I don't think that is a major 
problem although there should of course be 
functions for returning just attributes 
without namespaces. 

What I find more irritating is the textnodes:

I have 4 textnodes:

"^/stuff here ^/"
["more"]
"^/"
and again
"^/"

now none is used in an empty tag, but "^/"
is used for any empty textnode, and "^/
string^/" seems to be used for any textnode 
that has a sibling node, whereas textnodes 
that are only children are represented as a 
block with one string value. it would 
probably be better to just do that as 
another ["^/string value^/"]


One of the things that should probably be 
considered for any functions for working 
with xml in rebol is optimizations for 
working with various types of xml, for 
example a document like structure such as we 
see above (for which I would say the rule is 
that a document structure has multiple 
textnodes, that an element which has as a 
direct child a textnode and an element is a 
document structure) as opposed to the more 
programmer friendly data type structure:



John
Simpson






> 
> Hi Robert,
> 
> IMHO for one thing, it is like 
the "regular expression" (RE) topic which 
crops up now and
then.
> 
> People need an easy migration path.  
Anyone who has been convinced that xml is 
the end of
the world in ascii data sharing, will be 
more easily lured if that is more completely
supported.
> 
> for myself, I have found xml is nice to 
support at least on import because many open
source and on-line tools use XML as an 
export format.  Things like namespaces, I 
have
read, will obfuscate rebol's xml engine...  
maybe we are simply lacking in the more
advanced features which are getting more 
common than they used to be...
> 
> I really am not an xml genius, I just 
noticed that it is a trendy and competent 
ascii
format, maybe if the rest of the world is 
using it... we should at least support it
conveniently so that the phrase:
> 
> "REBOL is the glue that binds things 
together"
> 
> would hold more meaning with regards to 
other tools which already expect their data 
to be
bound to other tools...
> 
> maybe the fact that no one has done a 
complete xml port is that no guru has spent 
the
better part of a month or two to do it.
> 
> My guess is that many would benefit, but 
not that many are abilitated to actually do 
it...
so they eventually turn to another solution..
> 
> in the near future, I will have to parse 
several MBs of textual xml data and I will 
see at
that point how rebol handles it.  until 
then, I'm just an interested reader...
> 
> 
> cheers!  :-)
> 
> 
> -MAx
> ---
> "You can either be part of the problem or 
part of the solution, but in the end, being 
part
of the problem is much more fun."
>  
> 
> > -Original Message-
> > From: Robert M. Münch 
[mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, March 09, 2004 12:47 PM
> > To: [EMAIL PROTECTED]
> > Subject: [REBOL] Re: object2XML
> > 
> > 
> > 
> > On Mon, 8 Mar 2004 18:24:11 -0600, 
iNetW3 
> > <[EMAIL PROTECTED]> wrote:
> > 
> > > Your right about Rebol and XML.  I 
believe sooner or later
> > > Carl will either add an xmlparser as a 
dll or functions to
> > > the REBOL exe.  The closer they get to 
an IE plug-in, the
> > > more they will see Rebol really needs 
to deal with xhtml,
> > > xml, html, etc. wether they like it or 
not or people at large will
> > > not use it as a first class quick-fix 
scripting language.
> > 
> > Can you give a use-case for what this is 
required? Once in a 
> > while this  
> > XML thing shows up over and over. If the 
demand is that high, 
> > why hasn't  
> > anyone started to write one? If I use 
Rebol I only see usage 
> > for XML for  
> > import or export. This can be done

[REBOL] Rebol View Distributed Desktop?

2004-03-09 Thread bry
I seem to remember that Rebol View Desktop 
was opened up a while back, so that it was 
possible to customize the desktop (by which 
I mean more than just adding colors etc.) is 
there any documentation on this
anywhere?


-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: object2XML

2004-03-09 Thread bry
well it seems to me that the best solution 
to that is support for LibXML, LibXSl 
http://www.xmlsoft.org/
 etc. 
If everything was supported Rebol's xml 
problems would be over.
> Hello T.B.,
> 
> Try my quickparser.r script at Rebol.org
> Search for *quickparser*
> 
> Your right about Rebol and XML.  I believe 
sooner or later
> Carl will either add an xmlparser as a dll 
or functions to
> the REBOL exe.  The closer they get to an 
IE plug-in, the
> more they will see Rebol really needs to 
deal with xhtml,
> xml, html, etc. wether they like it or not 
or people at large will
> not use it as a first class quick-fix 
scripting language.
> 
> Wich will kill rebol as a solution, it 
will be fragmented(IE),
>  and made into a nice but unpractical toy.
> - Original Message -
> From: T. Brownell <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, March 07, 2004 2:04 AM
> Subject: [REBOL] Simple XML
> 
> 
> >
> > XML can be both simple and complex. This 
site is devoted to the creation
> > of the necessary tools and docs to make 
the complex simple too using
> Rebol.
> >
> > 
http://compkarori.com/vanilla/display/Simple+
XML
> >
> > --
> > To unsubscribe from this list, just send 
an email to
> > [EMAIL PROTECTED] with unsubscribe 
as the subject.
> >
> 
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] RebolView/DLL experiments

2004-03-08 Thread bry
So in my continuing experiments with the 
RebolView/DLL I found the following:

RebolView/DLL will run in ActiveDesktop, it 
will run in Internet Explorer, if a plugin 
running in IE crashes no other plugin will 
run in IE until IE is shutdown, but 
ActiveDesktop running plugins will run. 

RebolView/DLL will run in an explorer bar, I 
am however having trouble thinking of any 
reasonable use for an explorer bar rebol 
script as it isn't possible to pass context 
from the browser main window to the plugin 
(although I was thinking it would be 
possible to have a simple text db that the 
the bar passed info to via javascript, that 
the referenced rebol script could access and 
see what to do)

here's an stupid scripting trick for ya:

running a rebol script in an explorer bar 
that consists of browse url

will open a new instance of IE with the 
explorer bar open, in which case the script 
gets called again and opens a new instance 
of IE with the explorer bar open, and so on 
and so on :)

A plugin in a webview .htt file crashes, 
this by the way confirms again my earlier 
post as to how the crash of a RebolView/DLL 
only effects instances of the plugin running 
on the same thread, as when a webview 
crashes it also crashes ActiveDesktop, but 
instances of IE can still run the plugin 
with no problem. 


As it turns out the error in a webview 
hosting of plugin seems basically to be the 
security settings, given the following error 
message:

** Access Error: Cannot 

open 

/C/projects/tests/files2

r
** Near: do/args script 

system/script/args
quit
>>



anyway, i think what I would like most for 
the RebolView/DLL would be an extra optional 
parameter, that would be accessible from the 
script as its arguments, in that way there 
could be at least one way communication from 
the brower to the plugin. 



-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Wake up ;-)

2004-03-06 Thread bry
I'm supposing this is dependent on the TEMP 
environment variable, so on a winNT system 
and I guess windows ME and up it would be 
going to %USERPROFILE%\Local Settings\Temp

> 
> On 03-Mar-04, Carl Read wrote:
> 
> > On 03-Mar-04, Bruno G. Albuquerque wrote:
> 
> >> Well, I didn't. I still can't use it.
> 
> >> Anyway, the plugins install itself 
in "C:\WINNT\Downloaded Internet
> >> Files" (at least on my configuration) 
but there is no config file
> >> for it or anything.
> 
> > C:\WINDOWS\Downloaded Program Files
> 
> > for me on Win98se. I had no problems 
getting the plugin installed
> > and running using IE5.
> 
> For those who may not have figured it out, 
files saved from a reblet
> go to C:\WINDOWS\TEMP\REBOL\Plugin (on my 
Win98 box, anyway.)
> 
> -- 
> Carl Read
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Async:// loss of xml

2004-03-05 Thread bry
well the first thing i'd check with any xml 
problem is the encoding. can you make your 
client save it as it gets it, then try to 
run the saved xml through a compliant parser?
> 
> With other non async examples of using 
tcp, I was able to send the 
> following xml tags to a client with no 
problem...
> 
> "somemore"
> 
> But now with async:// the string is 
arriving in it's entirety, but my 
> client is choking on the second tag?  
Could this have something to do 
> with binary?
> 
> Terry
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Help with HTTP protocol

2004-03-05 Thread bry
 
> Hey ! That's "human readable" METAR data !
> Once upon a time, I made a little REBOL 
app to parse METAR and TAF data 
> and transform them into readable text.
> It's still available at : (if the free.fr 
web servers can be accessed ;o)
> 
http://brunobord.free.fr/ressources/fairebo.z
ip
> User manual, in french :
> http://brunobord.free.fr/fairebo_u.php
> or in english :
> http://brunobord.free.fr/fairebo_u.php?
lang=en
> 
> 

hey thanks, I was actually thinking about 
building a METAR parser now it looks like I 
won't need to.



-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: rebol/viewDLL problems

2004-03-05 Thread bry
oh it works fine in Active Desktop, IE's 
rendering engine is pretty tightly wound in 
all sorts of strange places in windows. 

> 
> Hello!
> 
> Re. closing the console window in the 
plugin. This does currently cause
> REBOL to die. We know about this bug and 
are looking into it.
> 
> As far as Active Desktop goes, we haven't 
looked into this yet. We're
> currently only supporting IE as a browser.
> 
> Thanks!
> 
> Josh Mitts
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:rebol-
[EMAIL PROTECTED] On Behalf
> Of [EMAIL PROTECTED]
> Sent: Friday, March 05, 2004 2:03 AM
> To: [EMAIL PROTECTED]
> Subject: [REBOL] rebol/viewDLL problems
> 
> One thing I noticed yesterday when playing 
> around, if I started a html file that 
> referred to a .r file that had an error 
via 
> the plugin a shell with the name 
> Rebol/ViewDll came up - sure others have 
> seen this already by now - I closed the 
> shell, from then on in until I had closed 
> every instance of my browser the plugin 
did 
> not work. I checked my processes to see if 
> this shell was running somewhere in the 
> background but I couldn't see any 
reference 
> to it. As soon as I fixed the problem, 
> closed all my browsers (suppose this 
doesn't 
> matter if one is running a Windows Shell 
> where each instance of IE is running on 
its 
> own thread, but most people ain't) and 
> restarted the html file, the plugin worked 
> on all example pages I had of it. 
> 
> okay that was interesting, hope that gets 
> fixed. 
> 
> So then one of the things I thought this 
> might be interesting for is to have Rebol 
> integrated pages as ActiveDesktop items. I 
> created a quick activeDesktop html page, I 
> went ahead and put in my object tag and 
set 
> the LaunchURL param to refer to a file via 
> an absolute path (windows path) this 
didn't 
> work, neither did referring to it via a 
> file:// url, or a rebol path. Has anyone 
got 
> this to work with a file path?
> This by the way seems to confirm that a 
> failed plugin page won't cause other 
proper 
> plugin pages to stop working if run on a 
> different thread, as checking various web 
> browser plugins worked fine. I did get the 
> activeDesktop plugin working fine, but 
only 
> by moving the referenced .r file to the 
same 
> folder as my activeDesktop item. 
> 
> I suppose the best thing to actually have 
> running as an activeDesktop would be a 
> modified view Desktop. 
>  
> 
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 
> 
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Help with HTTP protocol

2004-03-05 Thread bry
I think if what you want is to screen-scrape 
weather info you would probably do better by 
going to NOAA, for example 
http://weather.noaa.gov/weather/current/SBCF.
html
for belo horizonte.

from looking at the site you were scraping 
before I think they buy their data from some 
place like this: 
http://www.views.com.au/weathersystem/index.c
fm

which is no doubt getting the data free from 
some government service
somewhere.


-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Help with HTTP protocol

2004-03-05 Thread bry
just looking at it quickly I think the 
redirection you're going through is because 
the page is trying to set a cookie. I don't 
know if anyone has done anything to get 
rebol to read and accept cookies, probably 
not, If I remember correctly cURL does this, 
and someone suggested you try cURl recently. 
Then again as was also pointed out the site 
uses a lot of javascript, a lot, and it 
ain't pretty either, I don't think you're 
gonna get this site with rebol, because as 
was pointed out Rebol doesn't have a 
javascript interpreter. 
> 
> Hi Sunanda,
> 
> Thanks for you help but it does not work 
for me.
> 
> Is there anything else that could be done 
in order
> to let the host "think" I am using a 
browser and not REBOL?
> 
> The thing is that with a browser I can 
read the URL with no problem at all.
> 
> It's the first time that REBOL cannot read 
an URL for me :(
> 
> CArlos
> 
> 
> Em Quinta 04 Março 2004 16:57, you wrote:
> > Carlos:
> > >  Now It seems my script is beeing 
redirected to another page by the guys
> > > at Weather.Com.
> > >
> > >  My question is: is there a way to ask 
REBOL to present himself as a
> > > webbrowser
> > >  to a certain host? I ask you this 
because the url above
> > >  
(http://br.weather.com/weather/tenday/BRXX288
8) still works with the
> >
> > browser
> >
> > They may be sniffing you as being non-IE 
and deliberately victimising you.
> >
> > Try this:
> > system/schemes/http/user-
agent: "Mozilla/4.0 (compatible; MSIE 5.5; 
Windows
> > NT 5.0)"
> >
> > Sunanda.
> 
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: testing async://

2004-03-05 Thread bry
> Remember that async is 
>officially not supported, so these side-
>effects may occur.

whoa, I hope you mean not officially 
supported as opposed to officially not 
supported!

;) sorry, just struck me as funny wording, 
like the absolute last thing one wanted to 
here about a product or feature. 




-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] desktop diff between rebol view and Rebol/ViewDll

2004-03-05 Thread bry

noticed there was a significant difference 
between the word desktop in Rebol/View and 
Rebol/ViewDll

Rebol/View

>> source desktop
desktop: func [][
if block? ctx-viewtop [ctx-viewtop: 
context ctx-viewtop]
ctx-viewtop/init-desktop
do-events
]
>

Rebol/ViewDll

>> source desktop
desktop: func [url [url! file! any-type!]][
system/options/quiet: true
if block? ctx-viewtop [ctx-viewtop: 
context ctx-viewtop]
ctx-viewtop/init-desktop
if value? 'url [ctx-viewtop/show-
folder :url]
   
do-events]


-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] rebol/viewDLL problems

2004-03-05 Thread bry
One thing I noticed yesterday when playing 
around, if I started a html file that 
referred to a .r file that had an error via 
the plugin a shell with the name 
Rebol/ViewDll came up - sure others have 
seen this already by now - I closed the 
shell, from then on in until I had closed 
every instance of my browser the plugin did 
not work. I checked my processes to see if 
this shell was running somewhere in the 
background but I couldn't see any reference 
to it. As soon as I fixed the problem, 
closed all my browsers (suppose this doesn't 
matter if one is running a Windows Shell 
where each instance of IE is running on its 
own thread, but most people ain't) and 
restarted the html file, the plugin worked 
on all example pages I had of it. 

okay that was interesting, hope that gets 
fixed. 

So then one of the things I thought this 
might be interesting for is to have Rebol 
integrated pages as ActiveDesktop items. I 
created a quick activeDesktop html page, I 
went ahead and put in my object tag and set 
the LaunchURL param to refer to a file via 
an absolute path (windows path) this didn't 
work, neither did referring to it via a 
file:// url, or a rebol path. Has anyone got 
this to work with a file path?
This by the way seems to confirm that a 
failed plugin page won't cause other proper 
plugin pages to stop working if run on a 
different thread, as checking various web 
browser plugins worked fine. I did get the 
activeDesktop plugin working fine, but only 
by moving the referenced .r file to the same 
folder as my activeDesktop item. 

I suppose the best thing to actually have 
running as an activeDesktop would be a 
modified view Desktop. 
 


-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Wake up ;-)

2004-03-02 Thread bry
> What could this plug-in be useful for? 
Please note this is not sticking a
> knife into Rebol's back, I had the same 
question for Java applets as well!
> 
1.
Well if it's an ActiveXObject it should be 
usable from within any OLE container right? 
Microsoft Word, PowerPoint Presentations, as 
well as Internet Explorer. 

 note:
This actually simplifies a host of things I 
wanted to do to integrate explorer with IE, 
I'm hoping that I can build a complete 
sample over the weekend. 

2. One common usage of a lot of firms is IE 
as an interface, using the webbrowser 
control. Wrapping the webbrowser control an 
application and using it as the interface 
for your application, you can define new 
functions in language X that your interface 
can call, thus you can use html's layout 
capabilities, all other capabilities of the 
browser to host activeX objects such as this 
one, and call external arguments. The app 
can also access the html dom and change 
things, so for example the wrapping 
application could access a tag, such as the 
object tag, and change what .r file was 
being called by that tag. 




-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] small xml functions

2004-02-24 Thread bry
So I was working on doing a few little xml-
parse additions, enhancements, etc. 

and I was starting on a documentElement 
function:

 documentElement: func[blockdom]
[currentNode: make 

Object![tagname: pick blockdom 1
attributes: either block? pick blockdom 2 
[length? pick blockdom 2][0]

 ]]

and it struck me that my idea of how I would 
go after the attributes is undoubtedly wrong;
I was thinking that what I wanted was to do 
stuff like
either currentNode/attributes > 0 [
;search for specific attribute and value 
goes here
][;go next tag]

the question is how should the attributes be 
organized, should they be as a single block 
as they are now, should they be divided into 
two words att-names: which holds the names 
of the attributes, and att-values: which 
hold the values of the attributes.

Of course there also has to be some pre-
sorting to remove namespace declarations 
from attributes but that's not a biggie. 

I think I would prefer to do
found? currentNode/att-names "class"
to skipping through a block, but then others 
might not. Any ideas? 






-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Check email syntax

2004-02-05 Thread bry


> Notice that:
> 
> >> email: [EMAIL PROTECTED]
> == [EMAIL PROTECTED]
> >> email/user
> == r3b0l
> >> email/host
> == free.fr

heh, just struck me that this is a quick 
hack to do name value pairings. 

what if you had a block of 'addresses'? 

(not at home so I can't start rebol right 
now)


-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: [OT] DNS problems?

2004-02-03 Thread bry
no, but an tertiary topic to your off-topic, 
the following resource: 
http://dnsmon.ripe.net

> 
> Hi Rebolers,
> 
> this is a highly offtopic message, but I 
think my got some DNS Server 
> problems here, last week I wasn't able to 
reach some sites available 
> before (and now again), but some sites 
still can't be found (for example 
> http://www.payingfast.com/ ) does anyone 
know the IP address of a 
> ameserver off the top of his head? I'd 
like to add it to my DNS servers 
> and see if it works.
> 
> 
> Thanks,
> 
> Ingo
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: [OT] DNS problems?

2004-02-03 Thread bry
no, but an tertiary topic to your off-topic, 
the following resource: 
http://dnsmon.ripe.net

> 
> Hi Rebolers,
> 
> this is a highly offtopic message, but I 
think my got some DNS Server 
> problems here, last week I wasn't able to 
reach some sites available 
> before (and now again), but some sites 
still can't be found (for example 
> http://www.payingfast.com/ ) does anyone 
know the IP address of a 
> ameserver off the top of his head? I'd 
like to add it to my DNS servers 
> and see if it works.
> 
> 
> Thanks,
> 
> Ingo
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: db/file storage .... (was) Re: Re: ANN: RebDB Pseudo-Relational

2004-01-28 Thread bry

> 1) File Managers (most of them imo, and 
>no - Explorer is NOT file 
> manager, it is a joke!) treat archive 
>files as ordinary directories. 
Explorer is not a file manager, it is the 
windows shell. as such you can extend it via 
namespaces: 
http://msdn.microsoft.com/library/default.asp
?url=/library/en-
us/shellcc/platform/shell/programmersguide/sh
ell_adv/namespaceextension/namespace.asp

to give yourself the file management 
capabilities you want for
example.


-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: starting to be really late!?

2004-01-11 Thread bry
question on rebol and .net, IIRC Rebol is 
written in ANSI C right? So I'm wondering 
what compiler is used to build Rebol, if 
it's lcc then maybe Rebol Technologies could 
use lcc.net the lcc msil backend? from 
Microsoft Research.

> 
> Karl wrote:
> > So I am consigned to use Rebol for 
various utilities where I can - things
> like A J Martin's C# code generator.
> 
> If you want a copy, just email me. It's 
not in the library, because I'm
> expanding it frequently.
> 
> -- 
> Andrew J Martin
> Speaking in tongues and performing 
miracles.
> ICQ: 26227169
> http://www.rebol.it/Valley/
> http://valley.orcon.net.nz/
> http://Valley.150m.com/
> -><-
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] accessing objects dynamic paths

2004-01-04 Thread bry
when you convert a string path to an actual 
path and attempt to access an object with it:

example:

>> password: make object! [jj: ["bryan" "0"]]
>> password/jj
== ["bryan" "0"]
>> tstring: "password/jj"
== "password/jj"
>> tstring: to-path tstring
== password/jj
>> tstring
** Internal Error: ** Script Error: password 
is not defined in this cont
ext
** Near: arg1
you get the error as shown here that the 
name of your object is not defined in the 
context. 
Does anyone know of a way around this?



-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: robots.txt

2003-12-08 Thread bry
thanks :)
> 
> Hi 
> 
> You'll find a script to handle robots.txt 
files on my site: 
> http://folk.uio.no/hallvary/rebol/ 
> 
> Hope this helps, 
> Hallvard 
> -- 
> Prætera censeo Carthaginem esse delendam
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: css vs View (VID) compositing? (was) Re: Re: page-breaks in html or pdf?

2003-12-07 Thread bry

> 
> > > OTOH - studying css docs for one day I 
have to say that it is way more
> > > complicated than View. Maybe just a 
question of becoming used to
> > > different concept? What do others 
think?
> 
well styling in View always struck me as a 
weak css, then again I don't tend to use 
Rebol for GUI building but more shell 
scripting. 


> CSS has the huge advantage of being widely 
used and documented - books
> tutorials communities.
> Alas, most of the early confusion around 
CSS stems from browser wars and
> version/feature cross-fire cross-platform 
trickiness. Most of that is behind
> us now.

CSS also has the advantage as being usable 
for styling in other technologies than html, 
for example styling xml documents, styling 
svg, and is the basis for numerous styling 
solutions in markup, for example Open Office.




-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] robots.txt

2003-12-02 Thread bry
I've never had to realy take robots.txt into 
consideration before, as any site crawling 
I've ever done has been in secluded sites 
that I knew the structure of.
It seems from my understanding that google 
uses a system of robots, the first robot 
checks for robots.txt, makes decisions based 
on what it finds, contacts other robots to 
do realy work. This strikes me as a 
reasonable way to proceed, does anyone have 
any counter recommendations.

Also anyone have a robots.txt to object 
script out there
already?


-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Send/attach

2003-11-27 Thread bry

> >
> > So parts of REBOL are written 
in...REBOL!  Those RT guys are quite the
> > hackers.
> >
> 
> Eventually RT should mention that more? 
> 

right, at least part of rebol is improvable 
source
:)


-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] json

2003-11-12 Thread bry
http://www.crockford.com/JSON/index.html

in our continuing permathread on integrating 
Rebol with other systems etc. take a look at 
json.




-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: shell32 rebol pro?

2003-10-29 Thread bry
well I was thinking of that as a possible 
future project, first to collate all 
functions already mapped, then to map the 
rest of them, I found your implementation of 
drag+drop, although I couldn't get it to 
work earlier at work (will look at it again 
in the morning) and I found someone's 
implementation of ShellExecuteA, not sure if 
that's yours or someone elses. haven't check 
it out yet.

Of course once one has ShellExecuteA a lot 
of the other functions can be faked. for 
example the methods of the Shell object. 
> 
> Hi Bryan,
> 
> b> Did anyone ever do anything for calling 
shell32 with Rebol?
> 
> Do you mean calling *any* function in 
shell32.dll or calling a
> particular function (i.e. ShellExecuteA)?
> 
> Yes on the former, and "maybe" on the 
latter. :) That is, I haven't
> mapped *all* the functions in shell32, but 
I have done some.
> 
> -- Gregg 
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: creating a shortcut

2003-10-29 Thread bry
well I'm supposing AltME is written in the 
rebol sdk version so it's probably using 
IShellLink, however the following hack might 
also be a solution, this should work on 
windows 98 on up:


cShortcut: {[InternetShortcut]
URL=file:///c:\
Modified=9088F98B4E9EC3014C}

write %test.url cShortcut


by the way this can be used with that nifty 
asynchronous pluggable protocol thingee to 
write clickable scripts all over (just 
saying.) :)

I'm not sure what the modified value is for 
in the url format so I just copied from 
something on my system. you might want to 
find out what it means. 

> 
> Well the thing is AltME (for example) 
does this in REBOL so it is 
> possible in a way that it runs on all 
platforms.
> 
> Sigh.
> 
> --Maarten
> 
> Gregg Irwin wrote:
> 
> > Hi Bryan,
> > 
> > b> since this is all done through the 
registry you should be able to handle
> > b> it from rebol/view pro and higher I 
think  (isn't there a registry
> > b> dialect out there somewhere?)
> > 
> > Yeah, the problem is that anytime MS 
provides an interface, like
> > IShellLink, for doing this kind of thing 
and you circumvent it by
> > going directly to the registry, you can 
end up making a lot more work
> > for yourself. e.g. sometimes different 
Windows versions do things
> > differently, so you need to find out 
what version you're on etc. I'm
> > not sure in this case though.
> > 
> > -- Gregg 
> > 
> 
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Interesting Article on repurposing software

2003-10-28 Thread bry
why do you think that Rebol could be really 
good at this (really good implying to me 
better than at other things, and better than 
other tools)?
> 
> Hi All,
> 
> Seeing as how this is something REBOL 
could be really good at, and
> something I'm interested in...
> 
> http://www.e4engineering.com/item.asp?
id=50283
> 
> --Gregg
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: 'ML problem with literal quotation marks

2003-10-16 Thread bry
one not very happy solution would be the 
usage of " if ML (hard to remember) 
allows the passage of entities. 
> 
> * Andrew Martin 
<[EMAIL PROTECTED]> [031015 
17:31]:
> > 
> > Hi, Tim.
> > > Cc: [EMAIL PROTECTED]
> > 
> > That email address no longer exists!
> > 
> > Try one of these:
> > [EMAIL PROTECTED]
> > [EMAIL PROTECTED]
> > Or at work:
> > 
[EMAIL PROTECTED]
>  
>   Sorry! Used the one from ML.r. Will 
change.
> 
> > Tim wrote:
> > > 
> > > 
> > > 
> > > 
> > > The content as viewed in the browser 
does not show {"boo-boo"} (with
> > or without the literal quotes)
> > 
> > That's because the browser interprets 
the "input" tag like this:
> > input type="text" 
name="testing" value=""
> > In other words, the "value" attribute is 
an empty string, which is why
> > the browser doesn't show {"boo-boo"}.
>  
>   I understand...
> 
> > There's also a fault in my ML dialect, 
as I never considered that people
> > might want to display text with double 
quote marks. My ML dialect (or
> > maybe Build-Tag dialect) should check 
every string! attribute value and
> > 'escape' any double quote marks inside 
(so that people don't have to
> > worry about this.
> 
>  I would prefer that people didn't use 
them. Currently what I'm doing
>  is just eliminating them, however, sooner 
or later some user is going
>  to insist on it. 
> 
>  Let me know when you have a solution.
>  thanks
>  tim
> 
> > Andrew J Martin
> > Attendance Officer
> > & Grail Jedi.
> > Chief boo-boo maker!
> > Colenso High School
> > Arnold Street, Napier.
> > Tel: 64-6-8310180 ext 826
> > Fax: 64-6-8336759
> > http://colenso.net/scripts/Wiki.r?AJM
> > http://www.colenso.school.nz/
> > 
> > DISCLAIMER: Colenso High School and its 
Board of Trustees is not responsible (or 
legally

> > liable) for materials distributed to or 
acquired from user e-mail accounts. You can
report any 
> > misuse of an e-mail account to our ICT 
Manager and the complaint will be 
investigated. 
> > (Misuse can come in many forms, but can 
be viewed as any material sent/received that 
> > indicate or suggest pornography, 
unethical or illegal solicitation, racism, 
sexism,
inappropriate 
> > language and/or other issues described 
in our Acceptable Use Policy.)
> > 
> > All outgoing messages are certified 
virus-free by McAfee GroupShield Exchange 
5.10.285.0

> > Phone: +64 6 843 5095  or  Fax: +64 6 
833 6759  or  E-mail: 
[EMAIL PROTECTED]

> > 
> > 
> > -- 
> > To unsubscribe from this list, just send 
an email to
> > [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> -- 
> Tim Johnson <[EMAIL PROTECTED]>
>   http://www.alaska-internet-
solutions.com
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: rebol,erlang,yaws

2003-10-16 Thread bry
well i'm not gonna be in the office until at 
least monday, maybe longer depending on how 
I feel (had a little knee operation 
yesterday, everything went fine but sort of 
tired out) the stuff I've done so far is 
pretty simple:

1. I took my asynchronous pluggable 
protocols article concept - 
http://www.devx.com/webdev/Article/17120?
trk=DXRSS_WEBDEV and expanded it (fixed some 
of the shoddy code that was for newbies to 
follow, all those joins) so that the reb:// 
protocol has a format of reb://{metadata 
comes here}/protocol body comes here. The 
metadata in between the second and third / 
contains among other things the possibility 
of passing a password, if this password 
matches a system saved password the code 
gets evaluated straight off without going to 
the form, I am currently working on a 
similar protocol for erlang. Of course the 
problem with this is that one opens new 
instances of one's script via this method, 
although with Erlang this may be soluble. 

2. I have been working on trying to get joe 
armstrongs client/server tutorial on erlang 
and c working together 
http://www.sics.se/~joe/tutorials/client_serv
er/client_server.html to go with rebol and 
erlang working together. the most reasonable 
goal I see is to get gabriele's async-
protocol to work with it.

Somewhat difficult as I this falls under 
research not job related, although part of 
my job is pretty much research but I do 
sometimes feel guilty taking off from my 
main goals. 

I figure at some point I will hopefully get 
an insight (just because I'm one of those 
guys who tends to stumble to a particular 
place, and then everything goes really 
smooth after that), and a combination of 1 
and 2 becomes possible. 


> 
> Hi Bryan,
> just installed erlang and yaws, speed is 
impressive!
> 
> I'm really interested in getting yaws and 
rebol to talk togheter.
> So if you don't mind I would appreciate 
any work you have done in this area.
> Are you using async rugby?
> 
> Thanks a lot and have a nice day.
> 
> Will Arp
> [EMAIL PROTECTED]
> 
> [15.10.2003 11:48 "bryan" [EMAIL PROTECTED]
> 
> > Actually one of the side projects I have 
at home is communicating
> > between erlang and rebol in various 
ways, as I find the languages
> > complementary. 
> > 
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Rebol# or Rebol on DotNET

2003-10-15 Thread bry
I'm home right now with a fever, so I'm just 
gonna give a quick note of the fact that it 
is possible to use regular expressions 
inside of xml schema as well, as an 
extension of strings. 

However schema usage can be somewhat 
different than programmatic usage as you 
don't have the possibility of matching, 
matching again, checking against the results 
of two matches before you apply match three. 

Again the schema usage only seems to me like 
it would be useful in the context of 
consuming rebol as an xml provider. 

> 
> bryan wrote:
> > then one can use xml schema to define 
rebol datatypes, don't much care
> for xml schema, but the .Net 
implementation is actually useful,
> especially as one can do runtime 
translation between xml schema
> datatypes and .net datatypes.
> 
> At the moment, I'm using .NET Regular 
Expressions to parse out R# (and
> Rebol) data types, as .NET will compile 
these regexp is native code upon
> loading (and I've got a good tutorial on 
Regexp in the PERL
> documentation). If you could provide XML 
schema definitions and a way to
> map on .NET regexp or some other way to 
map rebol values into .NET
> datatypes, I'll happily include them into 
R#.
> 
> 
> > One of the things I've thought about is 
if it were possible to consume
> a rebol script as an xml provider: 
> > 
http://msdn.microsoft.com/msdnmag/issues/01/0
9/xml/default.aspx
> 
> Hmmm, how would we represent something 
like:
>   12.5%
>   or:
>   print
>   or:
>   USD$123.45
>   or:
>   £12.34  ; British Pounds & 
Pence.
> ?
> 
> Block! values are sort of easy enough:
> ; Or some 
other tag name?
>   ; blah blah
>   
> 
> Andrew J Martin
> Attendance Officer
> & Grail Jedi.
> Colenso High School
> Arnold Street, Napier.
> Tel: 64-6-8310180 ext 826
> Fax: 64-6-8336759
> http://colenso.net/scripts/Wiki.r?AJM
> http://www.colenso.school.nz/
> 
> DISCLAIMER: Colenso High School and its 
Board of Trustees is not responsible (or 
legally 
> liable) for materials distributed to or 
acquired from user e-mail accounts. You can 
report
any 
> misuse of an e-mail account to our ICT 
Manager and the complaint will be 
investigated. 
> (Misuse can come in many forms, but can be 
viewed as any material sent/received that 
> indicate or suggest pornography, unethical 
or illegal solicitation, racism, sexism,
inappropriate 
> language and/or other issues described in 
our Acceptable Use Policy.)
> 
> All outgoing messages are certified virus-
free by McAfee GroupShield Exchange 
5.10.285.0
> Phone: +64 6 843 5095  or  Fax: +64 6 833 
6759  or  E-mail: 
[EMAIL PROTECTED] 
> 
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Newbie expression question

2003-10-12 Thread bry

> 
>are equivalent, so why is it that so 
many of us have learned to
>feel more comfortable with
> 
>foo > 100
> 
>than
> 
>100 < foo
> 
>in our programs?  Is it because 
our "natural language" habits make
>us subconsciously think of the expresson
(s) above as being more
>about FOO as the subject of the 
sentence, rather than about the
>relationship between two equally-
important values?

I think it's because with foo you've 
assigned a value to something, in doing so 
you are implicitly stating that foo is the 
more important element.

I may also be wrong about this but it seems 
to me that with iterative languages it's a 
little more natural to use >, and with 
functional languages a little more natural 
to test if the value is <. This is probably 
just a habit I have, but with recursion I 
tend to subtract (I don't know why, but I've 
noticed it).  So you have a greater feeling 
of naturalness in your example because the 
first element is one assigned a value by the 
programmer, whereas the second is 
intrinsically valued.

If one had 

foo > bar

and 

foo < bar 

then I start thinking, we're gonna be 
looping, and we're gonna be recursing in 
turn, and the naturalness of the examples 
depends on how I think of using the language.

This however is probably a really weird 
personal idiosyncracy.



-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: pleac

2003-10-11 Thread bry
damn. they should do it free as in beer then 
it could be for rebol/core.


> 
> PLEAC says this in their FAQ.
> 
> { 9. I'd like to contribute to Pleac using 
this particular compiler/library 
> Great! 
> 
> But, please double-check that this 
compiler/library is released under a free
> (as explained by GNU, not free of charge) 
license, as we won't accept code
> only usable under a non-free OS/compiling 
environment. }
> 
> Could that be why we don't see rebol on 
the list?
> What do you think?
> 
> -Original Message-
> From: bryan [mailto:[EMAIL PROTECTED] 
> Sent: Friday, October 10, 2003 9:36 AM
> To: [EMAIL PROTECTED]
> Subject: [REBOL] pleac
> 
> 
> 
> Anyone seen this before, 
http://pleac.sourceforge.net/ PLEAC - 
Programming
> Language Examples Alike Cookbook. No rebol 
entry sadly.  
> 
> 
> -- 
> To unsubscribe from this list, just send 
an email to [EMAIL PROTECTED]
> with unsubscribe as the subject.
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: pleac

2003-10-11 Thread bry
here for example is the Perl side for 
internet services: 

http://pleac.sourceforge.net/pleac_perl/inter
netservices.html

could just go out to the library and cut and 
paste about 90% of these. 
> On 11-Oct-03, bryan wrote:
> 
> > Anyone seen this before, 
http://pleac.sourceforge.net/ PLEAC -
> > Programming Language Examples Alike 
Cookbook. No rebol entry sadly.
> 
> Okay rebolers, there's a challenge for 
you.  How quickly can you get
> REBOL to near the top of the list?  Which 
currently is...
> 
>  perl, 100.00% done
>  python, 48.57% done
>  ruby, 44.43% done
>  guile, 30.00% done
>  merd, 28.86% done
>  ada, 26.00% done
>  haskell, 20.86% done
>  tcl, 20.71% done
>  java, 14.00% done
>  pliant, 9.43% done
>  ocaml, 7.86% done
>  commonlisp, 6.29% done
>  c++, 3.43% done
>  pike, 2.00% done
>  erlang, 1.86% done
>  forth, 1.71% done
>  php, 1.43% done
>  masd, 0.57% done
>  nasm, 0.29% done
> 
> REBOL's supposed to be nice and quick, 
right?  Can you prove it?
> 
> -- 
> Carl Read
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: pleac

2003-10-11 Thread bry
well the interesting thing might be in what 
subject areas for each language are mainly 
implemented.

if you look at python for example 0% of 
pattern matching is implemented, in fact I 
don't think any of the languages complete 
pattern matching except for Perl, 0% of 
internet services and 0% sockets are 
implemented. 100% of Numbers and so forth: 
http://pleac.sourceforge.net/pleac_python/t1.
html

This might also better demonstrate the right 
tool for the job principle. 

Of course another problem is programmer 
time. 

As it follows the Perl cookbook that's the 
one which will have 100% done (pissy 
comments removed on second-thought.)

> 
> On 11-Oct-03, bryan wrote:
> 
> > Anyone seen this before, 
http://pleac.sourceforge.net/ PLEAC -
> > Programming Language Examples Alike 
Cookbook. No rebol entry sadly.
> 
> Okay rebolers, there's a challenge for 
you.  How quickly can you get
> REBOL to near the top of the list?  Which 
currently is...
> 
>  perl, 100.00% done
>  python, 48.57% done
>  ruby, 44.43% done
>  guile, 30.00% done
>  merd, 28.86% done
>  ada, 26.00% done
>  haskell, 20.86% done
>  tcl, 20.71% done
>  java, 14.00% done
>  pliant, 9.43% done
>  ocaml, 7.86% done
>  commonlisp, 6.29% done
>  c++, 3.43% done
>  pike, 2.00% done
>  erlang, 1.86% done
>  forth, 1.71% done
>  php, 1.43% done
>  masd, 0.57% done
>  nasm, 0.29% done
> 
> REBOL's supposed to be nice and quick, 
right?  Can you prove it?
> 
> -- 
> Carl Read
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: The needs that Rebol answers

2003-10-09 Thread bry

> 
> Hi Bryan.
> 
> bryan wrote:
> 
> >Since Rebol is written in ANSI C can one, 
with the sdk version, use
> >parsers written in ANSI C? 
> >
> On Linux the sdk offers an interface to 
shared libraries,  DLLs are 
> supported under MS Windows.
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 
do the shared libraries on Unix have to be 
ANSI C?






-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: rebol plugins

2003-09-27 Thread bry
well an xml file in Internet Explorer has 
its intrinsic handling done via an wd-xsl 
file inside of the msxml.dll as a resource. 
This generates a dynamic html page which 
shows the treeview you get when you double 
click and open an xml file, an xml file in 
mozilla has not intrinsic display on it. 

There is really no way to associate a plugin 
with xml, there is however ways to associate 
plugins with html and xhtml as I discussed 
in the earlier mail.

 The documents could be xhtml and still work 
with the plugin, the plugin architecture 
however should most probably not be that 
which it was before, as that falls under the 
eolas patent, I think the dynamic behaviors 
model which I pointed out, which is of 
course IE specific but of which a similar 
solution can be implemented for Mozilla, 
does not seem to me to fall under the eolas 
patent; however I am not 100% certain about 
that since it still requires a reference to 
an external object on the page to interpret 
the inline markup. 

At any rate as there has been discussion on 
list before about the following things:

1. extending Rebol to interact with browsers 
and OS
2. serializing rebol scripts to some xml 
dialect, so that they could be more easily 
consumed as data in other environments.
3. The current thread on c# in which I point 
to the CodeDom, I am familiar with some work 
that has allowed for generation of an xml 
dialect of the CodeDom which can be compiled 
to various .Net languages; c#, vb.net, J#, 
unfortunately jscript.net seems to have 
problems with the format. 


> 
> Hmm... I wonder since xml seems to be 
supported everywhere with these
> browsers then why can't an rebol plugin be 
made that gets launched via xml?
> 
> Paul Tretter
> 
> - Original Message - 
> From: "bryan" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, September 26, 2003 8:23 AM
> Subject: [REBOL] Re: rebol plugins
> 
> 
> >
> >
> >
> >
> >
> > >Interesting.
> > >How portable is DHTML, do you know?
> > >Is it an open standard, I mean?
> >
> > Sorry about the long time between 
replying.
> >
> > DHTML is generally used to refer to the 
usage of several complementary
> > technologies, Html 4.0, CSS, and 
Javascript (ecmascript).
> >
> > So while Microsoft might claim DHTML as 
theirs, the term is also used
> > for Dynamic (client-side) Html as used 
in Mozilla for example.
> >
> > As a general rule these technologies are 
a lot of bother to try to make
> > work cross-browser. Hence the continuing 
reliance on server side
> > technologies.
> >
> > The Microsoft dynamic behaviors are 
totally Microsoft specific, however
> > syntactically they share a similarity 
with xml namespaces which are
> > standardized.
> >
> > An html document using inline svg 
interpreted via a dynamic behavior
> > will have a syntax as follows:
> >
> > http://www.w3.org/2000/svg";>
> >  > CLASSID="clsid:78156a80-c6a1-4bbf-8e6a-
3cd390eeb4e2"
> > style="display:none;"/>
> > 
> > 
> > 
> > 
> > an svg graphic
> > http://www.w3.org/1999/xlink"; 
width="200px"
> > height="200px" viewBox="0 0 200 200">
> > 
> >  
> >
> > the thing about this is that Mozilla 
understands xml namespaces and one
> > can write code for Mozilla that 
interprets a particular namespace, the
> >  > instruction (an instruction passed up to 
the processing application) as
> > such it is ignored by browsers that 
don't understand the particular
> > instruction.
> >
> > So although there would have to be an 
implementation of the interpreter
> > for various browsers supported, the 
markup syntax used in these various
> > browsers shouldn't cause any problem.
> >
> > The main thing is that the earlier Rebol 
plugin is definitely not good
> > under the eolas patent, and that it 
seems to me that integration with
> > the browser is an area that in the case 
of Windows leads to closer
> > integration with the system.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > -- 
> > To unsubscribe from this list, just send 
an email to
> > [EMAIL PROTECTED] with unsubscribe 
as the subject.
> >
> 
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system 
(http://www.grisoft.com).
> Version: 6.0.516 / Virus Database: 313 - 
Release Date: 9/1/2003
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: .Net C# and Rebol

2003-09-27 Thread bry
> It might even be possible for the C# 
client to understand Rebol/IOS,
> perhaps?
> 

Well if you had a rebol script for 
generating/consuming at least some msil then 
you should be at the first step of working 
with .Net:

as per Mercury:
http://www.cs.mu.oz.au/research/mercury/maili
ng-lists/mercury-developers/mercury-
developers.0009/0268.html


however for making interactions between .Net 
and other languages I prefer CodeDom:
http://www.15seconds.com/issue/020917.htm

http://www.mondrian-
script.org/codedom/index.html





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.