World: r3wp
[Core] Discuss core issues
older newer | first last |
Pekr 17-Feb-2006 [3444x3] | Bobik thanks you very much to save him today's headache :-) |
he is kind of half a year Rebol novice and it is good to see those opinions ... those shared values etc. are REALLY a pain for beginner and such small styles bugs make life of mid-level developer (who is not fluent with View internals) View XY percent less sutiable to do real work ... | |
still areas with automatic scrollers, styles as tab, groupbox, etc. are missing in default distro ... and we were supposed to know what's in the pipeline for VID refactoring "real-soon-now" (c) 2005 RT ;-) | |
Volker 17-Feb-2006 [3447] | values for highlighting is much quicker coding than translating to indexes. ANd for the other stuff, a selfmade list is not that much code. although complicated. |
Pekr 17-Feb-2006 [3448] | yes, list somehow scares novices :-) |
Henrik 17-Feb-2006 [3449] | I'd love to get LIST-VIEW into /view, if the quality can get high enough. |
Gregg 17-Feb-2006 [3450] | TEXT-LIST definitely has issues, but works well in many simple cases. I think we'd all love to have LIST-VIEW in there, though I have to spend some time with it to make suggestions, so it's good fit with other VID styles (client side, in VID). I think that's what has kept changes out of VID in general. |
Allen 19-Feb-2006 [3451] | Ideally the Value and Text should be two different elements, like they can be in html selects. |
CharlesW 20-Feb-2006 [3452] | Can anyone tell me if there are any efforts to embed core into a device or embedded controller. Given its light size, it would be perfect for routers, applicances, etc.. |
Graham 20-Feb-2006 [3453] | www.whywire.com runs Rebol in their routers. |
Ryan 20-Feb-2006 [3454] | I heard last night that there is a new linksys router that you can install linux software into. Of course, REBOL was the first thing to come to mind. |
Graham 20-Feb-2006 [3455] | Most of the early linksys routers are linux based. |
CharlesW 20-Feb-2006 [3456x2] | Do you know what type of controller Whywire is usting? |
If an early links router was linux based, wouldnt you need the source code for rebol to compile it for that platform? | |
JaimeVargas 20-Feb-2006 [3458x2] | We use our own mother boards based on x86 cpu(s). |
Linksys is planning to discontinue their linux products and move to VxWorks based ones. | |
CharlesW 20-Feb-2006 [3460] | I guess using x86 would simplify things quite a bit from a development standpoint. I would assume much more expensive over a rabbit2000 or similar. Do you know what types of controllers the linksys utilized? |
JaimeVargas 20-Feb-2006 [3461] | I believe they are MIPS based cpu(s). |
Pekr 21-Feb-2006 [3462x2] | what registry value 'browse refers to? Bobik has some screwed OS isntall, after removing FF from his PC, browse does not start IE. IE is checked as a default browser, but it still does not seem to work ... |
ok, solved - there is a button to renew internet related settings in control panel/internet settings/programs ... | |
JaimeVargas 21-Feb-2006 [3464] | I think I found some errors on the tuple math with rebol. This results don't make any sense to me. Does anyone agree that these are bugs? >> 1.2.3 or -253 == 0.0.0 >> 1.2.3 and -253 == 1.2.3 >> 1.2.3 xor -253 == 0.0.0 >> 1.2.3 xor 512 == 255.255.255 >> 1.2.3 or 512 == 255.255.255 >> 1.2.3 and 512 == 0.0.0 |
Geomol 21-Feb-2006 [3465] | Well, each of the elements (numbers) in a tuple is an integer from 0-255. Doing a binary operation with that restriction and an integer without that restriction should maybe return none or an error? I guess, REBOL is optimized for speed doing this, so the result is undefined. (You can probably guess some internal rules/side-effects.) |
JaimeVargas 21-Feb-2006 [3466] | These operations can be defined correctly. The values returned are improper imo. And the speed optimization doesn't gain much. |
Anton 21-Feb-2006 [3467] | Jaime, were you expecting each value of the tuple to be compared with the first 8 bits of a 32-bit integer ? |
JaimeVargas 21-Feb-2006 [3468x4] | Yes. I do to use as many bits as possible. |
It also seems the operator have inconsitent behaviour like this. >> 1.2.3 and -1 == 1.2.3 >> 1.2.3 and -2 == 0.2.2 >> 1.2.3 and -3 == 1.0.1 >> 1.2.3 or -1 == 0.0.0 >> 1.2.3 or -2 == 0.0.0 >> 1.2.3 or -3 == 0.0.0 >> 1.2.3 xor -1 == 0.0.0 >> 1.2.3 xor -2 == 0.0.0 >> 1.2.3 xor -3 == 0.0.0 | |
AND behaves differently than OR and XOR regarding on how they treat negative numbers. AND is taking into account as many bits as possible, while OR and XOR are just returning a tuple of zeros. | |
My conclusions is that these operators have bugs. | |
Anton 21-Feb-2006 [3472x2] | Yes, looks inconsistent. |
Probably better to fix to support 32-bits. | |
JaimeVargas 21-Feb-2006 [3474] | So. You agree that it needs to be posted to RAMBO ? |
Anton 21-Feb-2006 [3475x2] | Yes. |
If there is some explanation for the behaviour, we will find out this way. | |
JaimeVargas 21-Feb-2006 [3477] | BTW. Orca is using all the bits possible, and its behaviour is consistent across the board. |
Geomol 22-Feb-2006 [3478x4] | I agree. If it works with 'and', one would expect it to work with 'or' and 'xor' too. |
Isn't it incredible with REBOL. Here are some basic bugs or misbehaviour, and it takes us 8 years or so to discover them. :-) | |
What about, if we started a project to closely investigate the behaviour of REBOL native!, action! and op! in relation to the defined datatypes? I did something like that in the IOS regarding minimum and maximum values for the different datatypes at some time. The idea would be to nail down bugs and misbehaviour and lead to a more robust language definition. After the initial investigation, the mezzanines could be looked at. | |
The amount of work can be judged by: >> ? native! >> ? action! >> ? op! | |
JaimeVargas 22-Feb-2006 [3482] | Regression tests! |
Anton 22-Feb-2006 [3483] | ... and: >> ? datatype! |
Geomol 23-Feb-2006 [3484x3] | Maybe the amount of work will be too big compared with the number of bugs and misbehaviour, we might find. REBOL is rather stable, as it is. And: 1) we have RAMBO and 2) the power-users already know most of the misbehaviour (, if you can call it that). |
An example of a peculiar thing: >> negate 2 ** 31 == -2147483648.0 >> a: negate to-integer 2 ** 31 ** Math Error: Math or number overflow ** Where: to-integer ** Near: to integer! :value >> a: negate to-integer 2 ** 31 - 1 == -2147483647 >> a: a - 1 == -2147483648 >> type? a == integer! | |
Ah, I just found the explanation! >> a: to-integer negate 2 ** 31 == -2147483648 It's correct behaviour. Silly me. | |
BrianH 23-Feb-2006 [3487] | Personally, I think it would be worth it to make the tests. There have been several times that I have been tripped up by a former bug getting fixed, sometimes years prior, and a set of unit tests would have kept me informed. Still, I would prefer if any misbehavior found would be fixed, not just documented and left to rot. |
Anton 23-Feb-2006 [3488] | I often thought it would be nice to see the history of a function. That is, which version of rebol it first appeared in, if there were any changes in any subsequent versions etc. |
BrianH 23-Feb-2006 [3489] | Plus, the unit tests would serve as documentation of a function's behavior, intended or not. |
Anton 23-Feb-2006 [3490] | There used to be calls for "the function diffs" when new versions of rebol would come out. The script to produce the diffs compared argument spec blocks and function body code where available. |
BrianH 23-Feb-2006 [3491x2] | Anton, your function history sounds like a great idea, although I would add parse behaviors to that list. |
Fixes to parse bugs (somewhere in the /View 1.2 betas) were what tripped me up :) | |
Anton 23-Feb-2006 [3493] | Yes, well that's where the unit tests will help you. |
older newer | first last |