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

World: r3wp

[Core] Discuss core issues

Oldes
16-Feb-2006
[3426x2]
that's it:) thanks
it's not documented here: http://www.rebol.com/docs/changes.html
Gregg
16-Feb-2006
[3428]
They're listed in the View 1.3 release notes, but not heavily doc'd.
Sunanda
16-Feb-2006
[3429]
:-) I only found it by accident while failing to get something of 
Gabriele's to run under an earlier version
Pekr
17-Feb-2006
[3430x2]
a bug or a feature? ;-) view layout [tl: text-list "" "ahoj" "" "cus"] 
  ... just click on an empty element ....
not even view layout [tl: text-list do [ tl/data: reduce [copy "" 
"ahoj" copy "" "cus"] show tl] ]  works ...
Sunanda
17-Feb-2006
[3432]
Looks like a bug -- can't have a duplicate entry.....Try clicking 
on one of the "cus"s

 unview/all view layout [tl: text-list "cus" "" "ahoj" "" "cus" "cus"]
Pekr
17-Feb-2006
[3433]
it looks for value instead of for index when hilighting? What purpose 
does it have? IIRC it was reported few years ago ... that is rudiculous 
behavior and makes the style completly useless ...
Allen
17-Feb-2006
[3434]
Putting duplicate values in a list is also rediculous.
Pekr
17-Feb-2006
[3435x2]
why? the list should not care ....
but - for simple viewing purposes, when you want to display e.g. 
field values, and some of them are null = empty strings? That design 
is for nothing and there should be no excuse for apparent bug, which 
was reported ages before ...
Brock
17-Feb-2006
[3437x2]
wouldn't this be approriate  ;-)

view layout [tl: text-list do [ tl/data: unique reduce [copy "" "ahoj" 
copy "" "cus"] show tl] ]
I agree that duplicates wouldn't be normal occurance in a list.  
Maybe a multi-column list would have duplicate values in a column, 
but each additional column should have other elements to make the 
row intself unique.  Again, from a 'list' perspective.
Pekr
17-Feb-2006
[3439]
thanks a lot, Brock, that cures list-text pain :-)
Brock
17-Feb-2006
[3440]
not bad, in 3 years hear I solved one problem!
Pekr
17-Feb-2006
[3441]
imo that is not requirement ot have unique values only possible? 
I know that more than one the same value in one column is a bit weird, 
but still the logic is twisted - it should work upon position, not 
the content ....
Brock
17-Feb-2006
[3442]
agreed
Pekr
17-Feb-2006
[3443x4]
imo text-list is totally screwed implementation, I wonder noone else 
found this out yet?
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
[3475]
Yes.