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

World: r3wp

[RAMBO] The REBOL bug and enhancement database

Dockimbel
2-Jul-2007
[3099]
2.6.2 and 2.7.5, Windows and Linux (probably others too) : Encmd 
crashes if 'title keyword is used in 'encap header. It works correctly 
with enpro and enface.
Sunanda
3-Jul-2007
[3100]
Is rhis a bug, or just undocumented behavior?
   trim "  a  ^/  ^/  a  "
   == "a^/^/a"

The help says "Removes whitespace from a string. Default removes 
from head and tail." But in this case it seems to treat the string 
as a set of strings (separated  by  newline) and trims them all.
Compare with the expected behavior here:
   trim "  a  b  a  "
   == "a  b  a"
Rebolek
3-Jul-2007
[3101]
TRIM behaviour is strange.  Sometimes it removes too much as in your 
case, sometimes it removes too little as in (trim "^/a^/" == "a^/") 
. I would say it's a bug.
Sunanda
3-Jul-2007
[3102]
I'm beginning to think so too, especially as (from my reading of 
the function), these two should be equivalent
trim/head/trail "  a  ^/  ^/  a  "
trim"  a  ^/  ^/  a  "
Izkata
4-Jul-2007
[3103]
Hence why I always use trim/head/tail...  I didn't think it was a 
bug, though, since your first example - trim "  a  ^/  ^/  a  " - 
could be a shortcut for data files..  Trimming each line.
Anton
6-Jul-2007
[3104]
Sunanda, I think, from memory of old conversation, that the default 
TRIM behaviour is particular and just insufficiently documented. 
It's annoying, chuck it in RAMBO to specify exact behaviour in doc 
string.
Pekr
12-Jul-2007
[3105]
On windows platforms, you'll get the infamous DOS window flashing 
when executing an external CGI ! It's just a matter of 1 flag to 
correctly set in 'call C source code, if you're really annoyed by 
that, ask RT to fix it asap (for 2.7.6 that would be good)! ;-) I 
may reimplement completely call command in REBOL, but it would be 
a big waste of time and energy...it should be a 10 minutes fix for 
RT. Addind a time limit to 'call would be a good thing too, it would 
also avoid me the reimplementation of 'call to add such feature....
 - DocKimbel

Anx chance of getting above fixed? Should we rambo it?
Henrik
12-Jul-2007
[3106]
wouldn't hurt :-)
Dockimbel
12-Jul-2007
[3107]
I think that it's already in RAMBO
Henrik
12-Jul-2007
[3108]
then it's probably been forgotten in Gabriele's priority list for 
2.7.6.
Dockimbel
12-Jul-2007
[3109]
RAMBO lacks a free commenting support...
Sunanda
12-Jul-2007
[3110]
Re my trim question of a week or so ago....
Thanks for the responses.
From RAMBO it seems this is deliberate (if unexpected) behavior:
http://www.rebol.net/cgi-bin/rambo.r?id=3681

This is intentional and not a bug. TRIM was designed that way to 
work well for trimming LINES of text. 
 [my emphasis of lineS, plural]
Henrik
16-Jul-2007
[3111x2]
DocKimbel, #4288 looks to me like it inserts a molded object into 
the path.
or perhaps form
Dockimbel
16-Jul-2007
[3113]
Yes, it returns the object source and the point is is this useful 
to anyone ? I was hoping the behaviour of :b in a path! could be 
changed to something more useful, like acting as a pass-thru to /c, 
so that, in the ticket example, a/:b/c would results in %path/target.
Henrik
16-Jul-2007
[3114x2]
slipping objects into a path...
>> a: %path
== %path
>> b: context [c: %target]
>> a/:b/c
== %path/c: %target%0A/c
>> a/(:b/c)
== %path/target
Dockimbel
16-Jul-2007
[3116x2]
Great! I've forgot paren! evaluation in paths.
btw, a/(:b/c) is quite heavy => 3 series instead of 1.
Gabriele
17-Jul-2007
[3118]
yes, but semantically a/:b/c is a/(b)/c not a/(b/c) which is what 
you want.
btiffin
20-Sep-2007
[3119]
Do we still bother reporting to RAMBO?  Is there any expecations 
for a production 2.7.6?  I'd vote; please please please.
NormanDep
5-Apr-2008
[3120x2]
[ 4322 ] can be closed
[ 4321 ] can be closed
Gabriele
6-Apr-2008
[3122]
Norman, could you please elaborate? It might help people noticing 
the same thing.
NormanDep
6-Apr-2008
[3123x2]
yes sure... [ 4322 ]  SDl 276 was recompiled for both kernel 2.4 
and kernel 2.6 [DEBIAN] (previously only kernel 2.6 was compiled) 
and they worked here. I cant confirm on ubuntu as its not my flavor 
of yoghurt ;-)
[ 4321 ] this is actualy  a borderliner.. Im not sure this is default 
behavior in windows or not, liinux does not have this problem, could 
stay open..
Gabriele
7-Apr-2008
[3125]
thanks.
Alan
14-Sep-2008
[3126]
.
Dockimbel
13-Oct-2008
[3127x7]
Looks like RAMBO needs to be cleaned from spam posts...
I've just run in a bug in enface.exe (2.7.6.3.1). The following code 
doesn't give the same result if run under view  or encapped with 
enface :
REBOL []
probe type? first [#[none]]
halt
rebview => none!  (correct result)
enface => word!
rebview and enface are both 2.7.6.3.1
Should I RAMBO that ? Is RAMBO still used ?
Henrik
13-Oct-2008
[3134]
RAMBO is still used for R2 bugs, yes.
BrianH
13-Oct-2008
[3135]
It sounds like the preprocessing is loading and molding the code 
before encapping, without using mold/all.
Gabriele
14-Oct-2008
[3136x2]
I think this might be in RAMBO already. At least I remember mentioning 
this problem to Carl a few years back. As Brian says, it's a missing 
/ALL refinement.
About the spam, I clean that up every single day. What you see is 
one day worth of spam.
Graham
14-Oct-2008
[3138x2]
is it all human spam?  or bot spam?
can you add a rebol captcha to it  to save you work?
Gabriele
14-Oct-2008
[3140x2]
given that there is not much protection in rambo, it's probably bot 
spam.
the main thing is, that changing rambo (i don't know the code) would 
take me more time (especially testing and making sure we're not going 
to lose data) than the 20 seconds or so it takes to delete the spam. 
So I never get to study the code and see what can be done...
[unknown: 5]
11-Jan-2009
[3142]
I verified this same bug today http://www.rebol.net/cgi-bin/rambo.r?id=3357&
 The workaround is to use /binary and then the limit is gone.
Dockimbel
14-Aug-2009
[3143]
I've searched RAMBO about a WAIT inconsistency : the dictionnary 
says that "If the value is a DATE/TIME, wait until that DATE/TIME", 
but date! are not accepted as argument (both directly or in a block). 
If this a known bug? I can't find it in RAMBO.
Graham
14-Aug-2009
[3144x3]
doesn't it mean a time value?
It's probably a documentation issue.
Being able to wait for specified date/time would be great for doing 
cron
Dockimbel
14-Aug-2009
[3147]
Precisely, I'm working on a scheduler lib for UniServe and I was 
wondering if I could wait for date!, but it looks like not.
Pekr
14-Aug-2009
[3148]
would be good feature to have at least in R3 ...