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

World: r3wp

[!REBOL3]

Graham
3-Feb-2010
[403x2]
>> chat
Fetching chat...
Cannot load chat from web.
Can't reach rebol.com and rebol.net ...
Sunanda
3-Feb-2010
[405]
chat / com / net -- all working from where I am.
Henrik
3-Feb-2010
[406]
no problems here
Graham
3-Feb-2010
[407x3]
Well, that was odd ... and I couldn't see any r3 updates either!
Hmm... still down for me after rebooting
So Carl .. hostkit ...
Carl
3-Feb-2010
[410]
Yes?
Graham
3-Feb-2010
[411x2]
that's what we feel you need to work on first!
concensus ...
Carl
3-Feb-2010
[413]
Good to know.
Paul
4-Feb-2010
[414]
Hostkit?  - we need some core bugs fixed.
Pekr
4-Feb-2010
[415]
those fixes started. Look at CC, first 6 bugs fixed, and I hope the 
list of fixes will be even bigger for next version ...
Paul
4-Feb-2010
[416]
Good I hope so.
Henrik
4-Feb-2010
[417]
host kit will give a bit of parallel work done (Robert, Cyphre, BrianH 
and Maxim are all waiting), but I guess it's up to what motivates 
Carl currently.
Paul
4-Feb-2010
[418]
If that is the case Henrik, then I'm all for hostkit to get built. 
 I just don't want to see us have to keep building hostkits for minor 
changes.  Better to make more changes to core and then less to hostkit 
unless the hostkit build will bring something new to the table as 
your implying.
Henrik
4-Feb-2010
[419]
host kit will fix remaining graphics issues, which Cyphre is already 
preparing. It will also help prepare for a better console for all 
platforms. Robert and Maxim has done various implementations (OpenGL, 
SQLite) and are doing general tests. BrianH, I can't remember what 
he's doing...
Pekr
4-Feb-2010
[420]
Fixed tickets now at 14 and counting :-) A good sign R3 is back in 
development, although over time we do have few tens of tickets to 
implement :-)
Maxim
4-Feb-2010
[421]
btw, I will start working on a public R3 /library extension as of 
next week, its now on my agenda.
Graham
4-Feb-2010
[422]
are you claiming the bounty?
Maxim
4-Feb-2010
[423]
I guess I will.
Graham
4-Feb-2010
[424]
I think it has to be delivered this year though ...
Maxim
4-Feb-2010
[425x3]
a good thing its only february then  ;-D
but seriously, I'll start work on this next week, I'll report on 
my progress.
The idea here is not build a prototype, but a "end-user" product.
Graham
4-Feb-2010
[428]
Chinese new year  ... starts in 9 days ... you don't have much time
Janko
4-Feb-2010
[429]
Maxim: great!
WuJian
4-Feb-2010
[430]
haha
Graham
4-Feb-2010
[431]
I was going to have a look at the R3 gui sources but they're all 
flattened..  Is there a pretty print for r3?
WuJian
4-Feb-2010
[432x2]
A script can do the job, I forgot where I'd seen it
http://www.rebol.org/view-script.r?script=clean-script.r
Graham
4-Feb-2010
[434x2]
Doesn't work on R3 source
Actually it doesn't work well on R2 source either!
WuJian
4-Feb-2010
[436]
ah...
Graham
4-Feb-2010
[437]
chokes on 

obj/:word

which is new syntax inroduced after that script was written
Pavel
5-Feb-2010
[438]
Is it week in year day in year function available in rebol? I've 
found that very messy standards for week in year calculation. There 
are minimally 3 views to what first week in year really is, combined 
with the first day in week rule. (in different words there must be 
two switches to function would be universaly useable) funny but sometimes 
necessary.
Graham
5-Feb-2010
[439]
There is /weekday
Ashley
5-Feb-2010
[440]
>> scalar!                          

== make typeset! [integer! decimal! percent! money! char! pair! tuple! 
time!]
>> to integer! 0
== 0
>> to decimal! 0 
== 0.0
>> to percent! 0 
== 0%
>> to money! 0   
== $0
>> to char! 0  
== #"^@"
>> to pair! 0 
== 0x0
>> to tuple! 0
** Script error: cannot MAKE/TO tuple! from: 0
** Where: to
** Near: to tuple! 0
>> to time! 0  
== 0:00

Should tuple! default to 0.0.0 ?
Sunanda
5-Feb-2010
[441]
tuple 0 error:  It is consistent with R2 -- but that only does not 
make it right (see CC #666)
Ashley
5-Feb-2010
[442]
>> power 2 2
== 4.0

Shouldn't this return integer! where possible?
Pekr
5-Feb-2010
[443]
>> to-integer copy/part tmp: to-string  power 2 2 find tmp "."
== 4

:-)
Ashley
5-Feb-2010
[444]
Or:

	to integer! power 2 2
Sunanda
5-Feb-2010
[445]
That produces an error for higher values of 2.

This should produce an int when it can, and a dec when it can't, 
though only for positive values of 2:

   pow: func [a b /local res][attempt [res: to-integer res: power a 
   b] res]
Mchean
5-Feb-2010
[446]
is Android and the iPhone platforms under consideration?
Pekr
5-Feb-2010
[447]
yes, it is in priority plan, to get build for ARM and possibly other 
platforms ...
Henrik
5-Feb-2010
[448]
hmm... is it possible to remove messages in R3 chat? I saw Ladislav 
posting this header:


> 6843   Re #6839: round/half-ceiling -$100.5000000    26 ladislav 
18m ago  

But now it's gone from my chat view.
Sunanda
5-Feb-2010
[449]
Manual says remove is possible....Never tried it myself:

   http://www.rebol.net/wiki/RebDev_Quick_Start#Move_or_Remove_Messages
Graham
5-Feb-2010
[450]
Graham:R3/Mezzanines>> 6843
#6843: skip from ladislav 3h ago:
BrianH
5-Feb-2010
[451x2]
Ashley, scalar! means that the type can be operated on by *, /, + 
and -, not that it can be converted from integer.
Phone platforms are in the priority plan, but that will likely have 
to be limited to platforms where REBOL will be allowed. So development 
for the iPhone would be possible, but running REBOL *on* the iPhone 
or iPad isn't allowed by Apple's rules. Other phone platforms would 
be fine though - they have no such restrictions.