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

Gabriele
27-Oct-2005
[1327]
picki/pokei: dunno. seems related to int/binary conversion to me 
though. i have reposted requests anyway.
BrianH
27-Oct-2005
[1328]
Well yes, they could be used for that, but there are other cases 
where integers are used to store packed byte values in binary data, 
and these operations can be translated to single machine instructions 
instead of the 3+ required by their arithmetic equivalents. Carl 
will of course use his own judgement.
Alberto
27-Oct-2005
[1329x2]
is this a known bug??: 

>> a-list: make list! 30'000
>> repeat n 200 [insert a-list n]
>> a-list: head a-list   ;;;  without this line no error is threw
>> clear a-list
>> repeat n 200 [insert a-list n]
** Script Error: Out of range or past end
** Near: insert a-list n

The error isn't threw with hash! nor block! datatypes
ok, I saw Jaime has reported the bug....
Henrik
31-Oct-2005
[1331]
so... it seems some spammer has found his way into the bug database 
:-(
Gabriele
1-Nov-2005
[1332]
yep. but luckily we need to approve each post. :)
Rebolek
18-Nov-2005
[1333]
Bug 3486 has status PENDING but seems to be already fixed. Maybe 
other bugs are fixed too, but RAMBO says otherwise. Adding comments 
to RAMBO should be really great.
Gabriele
19-Nov-2005
[1334]
Yep, looks like that one was fixed, i don't know exactly in what 
version though.
sqlab
23-Nov-2005
[1335]
regarding #3912

The newest Rebol version displays a different error message

***Panic (should not happen) -Invalid series width 1 was 16 (type 
44)

How near is RT to a fix ?
Henrik
27-Nov-2005
[1336x2]
Try this:

view/new layout [button 233x233]

load read-net http://www.userfriendly.org/cartoons/archives/97nov/uf13b471.gif

Now try this...:

view/new layout [button 233x232]

load read-net http://www.userfriendly.org/cartoons/archives/97nov/uf13b471.gif
oh well.... that button size may vary in needed size, because it 
did crash in both cases now in the console
Geomol
27-Nov-2005
[1338]
Doesn't crash here. Using REBOL/View 1.3.51.3.1 28-Oct-2005 Core 
2.7.0
Henrik
27-Nov-2005
[1339x4]
crashes 100% reliably with 1.3.1 under windows
try making a very big button
doesn't crash under 1.3.61 though
nope... must've been fixed somehow
sqlab
28-Nov-2005
[1343]
Crashes in both cases with view 1.3.61.
But my problem is not connected to View. I want a stable core.
Gregg
28-Nov-2005
[1344]
Can't dupe the crash here under 1.3.61. Can you provide more system 
details?
Alan
28-Nov-2005
[1345]
did not crash but did lock up had 2 ctrl-alt-del to end,using View/pro 
1.3.1.3.1
sqlab
28-Nov-2005
[1346x2]
It crashes with Windows XP or Win2000 server
e.g 

Microsoft Windows XP Professional
Version	5.1.2600 Service Pack 2 Build 2600

Prozessors	x86 Family 15 Model 2 Stepping 9 GenuineIntel ~2807 Mhz
Memory from 512 to 1024 MB

Windows 2000 Server
Version 5.0.2196 Service Pack 4 Build 2195

2 Processors X86 Family 15 Model 2 Stepping 7 Genuine Intel ~2399MHz

a.s.o.
the most simple client causing the receiving sever to crash

forever [
	con: open/binary/direct/no-wait tcp://receiver:13011
	insert con "a"
	wait con
	if not copy con [break]
	close con
]
sqlab
1-Dec-2005
[1348]
what do you think about

>> parse "" [to 5 (print 1)]
1
== true
Pekr
1-Dec-2005
[1349x2]
:-)
can't decode it s meaning:-)
sqlab
1-Dec-2005
[1351]
no secret meaning, but i think, this is a bug.
Pekr
1-Dec-2005
[1352]
what does to 5 mean in this case when you parse string? To fifth 
char?
Chris
1-Dec-2005
[1353x2]
Five times the next rule...
>> parse "aaaaa" [5 #"a"]
== true
Pekr
1-Dec-2005
[1355]
but there is 'to in there ...
Chris
1-Dec-2005
[1356x2]
Ah right --[ to 5 ]-- doesn't work, any more than --[ to some ]-- 
or --[ to any ]-- would.
And integers are specificly used as part of the parse rule:
>> parse [5][5]
== false
Pekr
1-Dec-2005
[1358]
is the last case correct returning false?
sqlab
1-Dec-2005
[1359]
parse "12345" [copy a to 2 copy b to 3 copy c to 4 copy d to 5 copy 
e to 6]
== true
>> a
== "1"
>> b
== "2"
>> c
== "3"
>> d
== "4"
>> e
== "5"
Chris
1-Dec-2005
[1360x2]
>> parse "abcde" [to 4 #"e"]
== false
>> parse "abcde" [to 5 #"e"]
== true
Interesting...
Pekr
1-Dec-2005
[1362x3]
copy e to 6? Should be false imo!
that is imo bug :-)
hmm, so it means to fifth char?
Chris
1-Dec-2005
[1365]
Unless it is to an index position...
Pekr
1-Dec-2005
[1366x2]
from sqlabs example it seems to be index position, otherwise if it 
counted num of chars, it would not start from the beginning of the 
string each time ...
so 6 in his example is equal tail ... index? tail "abcde" = 6
Chris
1-Dec-2005
[1368x4]
>> parse "abcde" [to 6 mk: (probe index? mk) to 1 mk: (probe head? 
mk) to 6]
6
true
== true
This may be painfully obvious, I'd never noticed it before...
I would say that sqlab's example was a bug, except that it is consistent 
with:
>> skip "" 5
== ""
>> head? skip "" 5
== true
Geomol
1-Dec-2005
[1372]
>> parse "54321" [to 2 mk: (print mk)]
4321
== false
>> parse "54321" [to "2" mk: (print mk)]
21
== false

I didn't know that either. Good to learn something new. :-)
Henrik
1-Dec-2005
[1373x2]
>> parse "54321" [to 5 mk: (print mk)]
1
== false
>> parse "54321" [to 4 mk: (print mk)]
21
== false
>> parse "54321" [to 3 mk: (print mk)]
321
== false
>> parse "54321" [to 2 mk: (print mk)]
4321
== false
>> parse "54321" [to 1 mk: (print mk)]
54321
== false
that would be the position in the string, not the actual digit in 
the string...
Geomol
1-Dec-2005
[1375x2]
Exactly!
Also works with thru:
>> parse "abcde" [to 2 mk: (print mk)]
bcde
== false
>> parse "abcde" [thru 2 mk: (print mk)]
cde
== false