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

BrianH
26-Oct-2005
[1301]
For that matter, I just submitted another rebcode proposal to RAMBO, 
and then noticed some code in the fix section that I wanted to change. 
The submitted code still works, but I would still like to clean it 
up a little. If I had an account on RAMBO, would I be able to fix 
my own submissions?
Pekr
27-Oct-2005
[1302]
Rambo needs "add comment" section ... I am not sure Carl checks regularry 
here ....
Rebolek
27-Oct-2005
[1303]
Send it to RAMBO :)
Pekr
27-Oct-2005
[1304]
ah, I should read first ... dunno if Rambo allows you to edit your 
submissions ...
Gabriele
27-Oct-2005
[1305]
You need edit permissions, and that applies to ALL tickets, not just 
yours, AFAIK. So I guess the answer is no.
BrianH
27-Oct-2005
[1306x4]
Gabriele, that's what I thought :(
RAMBO 3939 still has a status of "Waiting".
On RAMBO 3942 in the fix code, in the either statement please change 
the test to empty? labels and swap the code blocks, thanks. It'll 
work the same but will be cleaner. Like this:
        either empty? labels [rule: opcode-rule] [
            label-rule: make block! length? labels

            foreach [key val] labels [insert insert tail label-rule to-lit-word 
            key '|]
            clear back tail label-rule

            label-fixup-rule: [there: label-rule (there/1: 2 + select labels 
            there/1)]

            label-error-rule: [label-rule (error/with here "Cannot use label 
            here:")]
            rule: fixup-rule
        ]
Submitted my proposed alternate to 3939 as a new RAMBO entry. Maybe 
that will work.
Gabriele
27-Oct-2005
[1310x2]
actually, it's possible that 3939 will be implemented. to-dec and 
to-int are unlikely to be used in loops, so their speed is not necessarily 
an issue.
this hasn't been decided yet anyway.
DideC
27-Oct-2005
[1312]
What about an AS-INC AS-DEC instead, as proposed above (BrianH) ?
Gabriele
27-Oct-2005
[1313]
looks like Carl's changing to-int and to-dec instead.
BrianH
27-Oct-2005
[1314x3]
Yay! "Generic" math here we come!
Thanks for the change to 3942 as well. A braino, I forgot about empty? 
for a moment :(
Should I make RAMBO entries for the other rebcode enhancements we 
came up with in the Rebol Enhancements group?
Gabriele
27-Oct-2005
[1317x2]
should not be needed.
if you want to summarize the suggestions anyway, i can pass the summary 
on.
BrianH
27-Oct-2005
[1319]
There were a couple categories - give me a moment.
Gabriele
27-Oct-2005
[1320]
i think i passed all of them along, but just to be sure...
BrianH
27-Oct-2005
[1321x2]
Integer operations:
- conversions between integers and binary and back
- bswap opcode for endian conversion

- picki and pokei, like pick and poke but for bytewise access to 
integers

- perhaps allow tuples to be treated like integers for opcode purposes, 
or to-tup/to-int for conversions between them
Word operations:
- set indirect for things like forall, 'a parameters, other uses

- for objects/contexts:  bind ["Bind a variable to a context" word! 
word!]
Struct operations:
- sets ["Set a field value of a struct" word! word! word!]
- gets ["Get a field value of a struct" word! word! word!]
- copys/changes or picks/pokes (see other group for details)
There was also some mention of a lack of orthogonality with get/set 
and copy/change (see group for details), but that may not be as important.
Gabriele
27-Oct-2005
[1323]
(note: not yet released)
-bswap already there
-tuples and pair access available (pick/poke)
-indirect words already there (setw/getw)
-change will probably take a lenght
BrianH
27-Oct-2005
[1324x3]
What about picki/pokei? I can see putting off struct access until 
structs are put into /Core independent of libraries, but since that 
has been promised it might be better to get support for them in while 
we can.
(sorry, those two sentences were seperate questions)
(I'll be back later)
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:-)