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

World: r3wp

[All] except covered in other channels

BrianW
8-Feb-2005
[1036x4]
ah, thanks. That gives me a good starting point
switching the search to "opengl" brought this up near the top: http://www.rebol.org/cgi-bin/cgiwrap/rebol/ml-display-thread.r?m=rmlDHPC
Another score for rebol.org, thanks for the resource, sunanda :-D
well, *that* project link doesn't work, but at least I know stuff 
is out there somewhere
Graham
8-Feb-2005
[1040]
Happy New (Lunar) Year all :)
BrianW
8-Feb-2005
[1041]
likewise
Maxim
8-Feb-2005
[1042]
cool to see the list is waking up again :-)
Terry
9-Feb-2005
[1043x3]
Is there an existing Rebol function that will escape ascii from hex 
to char?  ie from %7C to | ?
There is nothing standard when it comes to ascii.. bin version, hex 
version, oct version, binary version, windows 2k version, windows 
XP version, IBM PC version, and many others, no doubt.  I have more 
lines of code dealing with ascii, then all the rest combined :(
(bin = decimal)
Sunanda
9-Feb-2005
[1046]
Don't think there is a built-in function for that.
Try this:
>> to-char base-convert/from-base "7c" 16
== #"|"
Base-convert.r is in the REBOL.org script library
Terry
9-Feb-2005
[1047x2]
Javascript has an escape/unescape function  ie  
document.write(unescape("%3C%73%63%72%69));
Sunanda, i need to replace escaped charaters in strings.. "Carl Sassenrath"
Sunanda
9-Feb-2005
[1049]
You'll probably need a parse pass then.
Or a replace loop.
Terry
9-Feb-2005
[1050x2]
I have a block of value pairs, and can do a foreach [ascii chara][replace/all 
..] but that seems rather crude
I find it curious that nothing exists in the library for this?  Every 
web page sending a GET request to a Rebol cgi script escapes this 
stuff.  Am i the only one that needs to deal with it?
Sunanda
9-Feb-2005
[1052x2]
Most of us just need to do it the other way around -- and that's 
automatic:
>> to-url "carl S"
== carl S
Terry  --forget all that.
Try
  dehex
Terry
9-Feb-2005
[1054x2]
hmm :)
I need to read the Rebol dictionary more often ;)
Sunanda
9-Feb-2005
[1056]
So do I :-)
Terry
9-Feb-2005
[1057x2]
It's not a perfect solution, I still need a block of values to handle 
odd browser escaping.. for example, when you add a © to  a url, Mozilla 
escapes it with "%C2%A9"  .. adding that extra ascii character for 
some reason.
Add to that mess things like html forms replacing spaces with  "+" 
 .. "Carl+Sassenrath"  .. what a mess.
Izkata
9-Feb-2005
[1059x2]
Take a look at 'dehex
>> dehex {%41%42%43}
== "ABC"
Chris
9-Feb-2005
[1061x2]
Terry, for want of a better way to handle this -- if you add the 
'accept-charset' attribute to the <form> tag, it will encode the 
way you want it:
accept-charset="windows-1252,iso-8859-1"
Otherwise, it defaults to what I assume is a Unicode pair for extended 
characters.
Terry
10-Feb-2005
[1063]
This just in .. Prince Charles to Marry Camilla Parker Bowles.. remember 
.. you heard it here first.
Graham
10-Feb-2005
[1064]
hmm.. and if Prince Charles ascends the throne in due course, he 
will head of the church of england?
Terry
10-Feb-2005
[1065x2]
That's the big debate at the moment.
The news is almost as big as http://maps.google.com/
Graham
10-Feb-2005
[1067]
perhaps if Charles relinquished his succession claims to the Queen's 
corgies, the public might find it more acceptable.
Terry
10-Feb-2005
[1068]
I wonder how the corgies feel about it?
[unknown: 9]
10-Feb-2005
[1069]
So, is it true that the PM of NZ is XG?
JaimeVargas
10-Feb-2005
[1070]
Yeksoon. Happy New Chinesse Year.
Ammon
10-Feb-2005
[1071]
We just love acronyms in this day and time don't we? ;-)
BrianW
10-Feb-2005
[1072]
I was following the conversation up until XG. No idea who or what 
XG is.
[unknown: 9]
10-Feb-2005
[1073]
Athiest.
Tomc
10-Feb-2005
[1074]
so are Brian and I athiests for not knowing what XG means, or is 
the PM of NZ an athiest?
BrianW
10-Feb-2005
[1075]
X-istential G-it?
Graham
10-Feb-2005
[1076]
I wouldn't worry too much what XG stands for .. we know that Reichart 
is a little dysgraphic at times.
BrianW
10-Feb-2005
[1077]
So it *could* be GX?
Graham
10-Feb-2005
[1078]
could be asking if she wears XS size clothese for all I know :)
BrianW
10-Feb-2005
[1079]
true
Andrew
10-Feb-2005
[1080x2]
Who is the PM of NZ?
Still AM here...
BrianW
10-Feb-2005
[1082]
heh
BrianW
11-Feb-2005
[1083x2]
Dumb question that I've asked before: How do I tell Rebol/View what 
my browser is?
So far I've been able to cheat just by creating a symlink called 
'netscape' to my firefox executable, but it would be nice to just 
use the currently open firefox session
Graham
11-Feb-2005
[1085]
windows or linux?