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

World: r3wp

[!REBOL2 Releases] Discuss 2.x releases

Maxim
29-Apr-2010
[1599x2]
I was on graham's side, but I've changed ideas since I've been using 
pairs for so may purposes that its really hard to find a default. 
  especially one which doesn't require different meanings for none 
and false.
but if a default where to be chosen, I'd says inside/outside would 
be the most logical.
Graham
29-Apr-2010
[1601x2]
I'd prefer area under the xy axis
as default
Maxim
29-Apr-2010
[1603x2]
pair is two dimensional, so having a >< which is obviously a two-dimension 
equivalent to a linear equation would fit the bill.
I don't even see the use for area.  what would it really be used 
for?
Graham
29-Apr-2010
[1605x3]
so at least in one situation of the infinite, we don't have to write 
custom code
Max it doesn't have to have a use .. .just has to be logical
ie. there has to be an underlying logic to the choice
Maxim
29-Apr-2010
[1608]
ah, well, why the hell implement a useless default?  really that 
defies logic  ;-)
Graham
29-Apr-2010
[1609]
I didn't say it was useless .. you said you couldn't think of a use 
.. quite different things
ChristianE
29-Apr-2010
[1610]
Implementing a useless default has the advantage of being the Salomonical 
solution. That way, noone has to complain if one of to sensible options 
gets implemented and you need the other, unimplemented one.
Graham
29-Apr-2010
[1611]
Solomon
ChristianE
29-Apr-2010
[1612]
(Not implying that the suggestes behaviour is useless)
Graham
29-Apr-2010
[1613]
half a baby is better than none!
ChristianE
29-Apr-2010
[1614]
We say Salomon in german, learned something new at least ;-)
Graham
29-Apr-2010
[1615]
I'll try and remember that when I learn German :)
BrianH
29-Apr-2010
[1616x2]
Still really off-topic for this group. We're trying to keep this 
group on-topic for the discussion of R2 releases, so valuable information 
doesn't get buried in the torrent.
The is not like the !REBOL3 group, where anything R3-related is on-topic.
Graham
29-Apr-2010
[1618]
Was anything happening R2 wise?
BrianH
29-Apr-2010
[1619]
We switch between R2 and R3 work. The last week has been focused 
on R3. A week-or-so ago I made a few tweaks to R2/Forward for 2.7.8, 
including a backported fix from R3, and Carl put together a plan 
and implemented a lot of his portion of the plan. I expect that soon 
after the R3 a98 release, we'll have a R2 2.7.8 release. And 2.7.8 
looks like it will be the first really stable release in the whole 
2.7.x series, something to really look forward to.
GiuseppeC
1-May-2010
[1620]
Hello, I am having a small problem about CALL:
call  reduce ["C:\Windows\hh.exe" "C:/mybook.chm"] doesn't work
call/show  reduce ["C:\Windows\hh.exe" "C:/mybook.chm"] works !
Which is the difference ?
Graham
1-May-2010
[1621x2]
you don't need 'reduce
call/show rejoin  ["C:\Windows\hh.exe            " "C:/mybook.chm"] 

there's a bug with 'call
GiuseppeC
1-May-2010
[1623]
Sorry, I hava modified the command. Originally I needed reduce.
Graham
1-May-2010
[1624]
well, rejoin does a reduce
GiuseppeC
1-May-2010
[1625]
The problem is different:
call/show opens the guide

call only run the task but does not open the guide. You can find 
the task in Task Manager
Graham
1-May-2010
[1626x2]
I think in 2.6  the behaviour of 'call changed ...
it should be fixed
GiuseppeC
1-May-2010
[1628]
hh.exe open a .CHM guide
Graham
1-May-2010
[1629]
http://www.rebol.com/article/0467.html
GiuseppeC
1-May-2010
[1630]
Read. It didn't open the child window... ok... back to work...
GiuseppeC
2-May-2010
[1631]
What's wrong here ?

rebol [
]

write %tryme.pdf
dirlist: read %//

foreach myfile dirlist [
	if find myfile ".pdf" [
		print ["Filename" myfile]
		extension: find/last/tail myfile "."
		print ["EXT" extension]
		print extension = "pdf"
	]
]
delete %tryme.pdf
halt


The comparison extension = pdf should return TRUE, instead I have 
FALSE
Graham
2-May-2010
[1632x2]
try 

suffix? myfile
%.pdf = suffix? myfile
GiuseppeC
2-May-2010
[1634]
I have found the function but I wish to know why te comparison fails
Graham
2-May-2010
[1635x2]
because myfile is of type file!, and so extension is also file!
try

print extension = %.pdf
GiuseppeC
2-May-2010
[1637]
Ok, understood. The fact I am able to start a "find" on it let me 
think it is a string...
Graham
2-May-2010
[1638]
This belongs in rebol school group
GiuseppeC
2-May-2010
[1639]
O:-)
Graham
2-May-2010
[1640]
BrianH wants to keep this group to discuss 2.7.8
GiuseppeC
2-May-2010
[1641]
I'll move there :-)
Gregg
3-May-2010
[1642]
Back on pair comparisons, MIN and MAX don't return one of the given 
pair values (not sure if someone else mentioned that).

>> max 10x11 9x12
== 10x12
Maxim
3-May-2010
[1643]
? 
max 10 9  = 10
max 11 12 = 12

you get the area which encloses both
BrianH
3-May-2010
[1644]
And back in the Core group - we're trying to keep this group on its 
topic of R2 releases. We don't want to lose such discussions in the 
middle of discussions of semantics. The only reason this group was 
created is because some of the people working on the development 
of R2 don't want to use chat yet. This group is *only* a replacement 
for the R2-Beta world.
Maxim
3-May-2010
[1645x2]
using MIN on offsets and MAX on size you get the enclosing box


when you use MAX on offsets and MIN on size you get the intersection 
of both boxes
I think Gregg was posting this as a bug.
BrianH
3-May-2010
[1647x2]
This is not the R2 equivalent of the !REBOL3 group. Please don't 
abuse the fact that we can't move messages in AltME :(
I'm sorry, I don't want to be a jerk about this. This group is used 
as a reference when we do new R2 releases. It's of less value as 
a reference if off-topic stuff is overwhelming the release discussions. 
Please be nice to the R2 release manager :(