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

World: r3wp

[!REBOL3-OLD1]

shadwolf
9-Apr-2009
[13108x5]
hum having the dialect doesn't' means you have teh proper low level 
set of drawing function to handle properly the text rendering
well i imagine that since the TDM (Text  Dialect Markup ) exists 
than AGG will follow and offer brand new things to handle conveniently 
the texte (and please please forget once for all about teh caret 
system please i beg you T___T)
what is in my opinion import in text handeling is to be able to get 
heigh and width taken be each letter or each set of letter (can be 
a word or a line ...
for example actually we are able to handle properly the text motion 
because we use fie font with a fixed size but this because what we 
want is to handle text in color and not mixe differnt kind of font 
styles and size like it would be the case for a MakeDoc format richtext 
rendering /editing widget
sure in our area-tc taht would be a plus to be able to handle ctrl+wheel 
action to grow shrink the text size (like you can do in any modern 
web browser for example) or to be able to set through a config panel 
the font size and type of your choice
Henrik
9-Apr-2009
[13113x3]
Solved the other bug by commenting out one line of code. :-)
do http://rebol.hmkdesign.dk/files/chat.r
If I can get a couple of confirmations that the bugs are gone, I'll 
submit them to curecode.
PeterWood
9-Apr-2009
[13116x2]
I haven't been able to generate the segfault with your version in 
the way that I could with the live version.
and the "more 3365" bug is gone too.
Henrik
9-Apr-2009
[13118x2]
Interesting. The changes are quite small.
actually, it could be because mine is not compressed.
PeterWood
9-Apr-2009
[13120]
That's a possibility. I'll try to compress your script tomorrow if 
I have time (it's late here) and see if it segfaults.
Nicolas
9-Apr-2009
[13121x3]
I'm trying to sort files by modification but it's not working.  sort/compare 
files: read %/c/ by-date: func [a b] [to-logic attempt [greater? 
modified? a modified? b]]
sort/compare files :by-date
does anyone use this type of code?
Henrik
9-Apr-2009
[13124]
What exactly does Pending mean in Curecode?
kcollins
9-Apr-2009
[13125x2]
Nicolas, sort/compare does not work in R3. This bug is in Curecode: 
 http://curecode.org/rebol3/ticket.rsp?id=161&cursor=8
It would be nice to see that one fixed, especially if it is easy 
to fix.
BrianH
9-Apr-2009
[13127x5]
Pending means someone (me, usually) has already written a fix and 
submitted it to DevBase, but it's not built into R3 yet.
Carl's fixes don't get marked pending, he just builds them.
I don't understand a lot of these complaints where people say they 
can't contribute because REBOL "isn't open source". Large chunks 
of R3 were written by me, and every line I wrote was open source, 
freely available in DevBase.
A lot of REBOL is written in REBOL, and all of that is open source 
(in theory). The source is all in DevBase.
By the way, hash! being gone is not even in the top 100 drastically 
incompatible changes in R3. It's a new language :)
Henrik
9-Apr-2009
[13132]
BrianH, then my fixes fit under the Pending category :-)
BrianH
9-Apr-2009
[13133x3]
Yup, as long as they are submitted to DevBase. I mark fixes as pending 
before they are even accepted in DevBase, so pending doesn't mean 
inevitable. Some pending fixes have been dismissed (mostly requests 
for new functions).
I keep the new functions in my archives for later submission to the 
community library, if they are worth saving.
The function with the most incompatible changes in R3 is LOAD. There 
were many errors in R2's LOAD that have been fixed in R3. Almost 
every feature of LOAD is different, in sometimes subtle, sometimes 
drastic ways.
Janko
9-Apr-2009
[13136]
I am happy that you guys exist :)
BrianH
9-Apr-2009
[13137x6]
Graham, VID+ was being worked on in order to get the core in good 
shape, by uncovering bugs and helping set priorities for fixing them. 
Now we are fixing the most important core bugs, including the one 
that has been blocking infrastructure development the most: the lack 
of a decent, working module system.
Now the thing blocking us is the lack of a multitasking model, so 
we are (mostly Carl is) implementing what we need to get multitasking 
working: memory protection and a new system object. It looks like 
we will have a shared memory model after all, rather than a shared-nothing 
approach. It's still up in the air though.
PeterWood, don't store the associated values in a map! as #[none} 
- that removes them from the map!. Use #[true] instead.
Shadwolf, the design of the map! type is pretty-well finalized already. 
It's the implementation that still needs work :(
Also, don't base serious development on alpha software unless you 
can afford to finish your development after it's no longer alpha 
:)
Janko, thanks :)
Janko
9-Apr-2009
[13143x3]
wow, now you are focusing on multitasking.. that is a big core thing 
... if there will be shared memory model we can probably build various 
other abstractions on top of it (I did observe some backslash vs 
pure message passing / actors lately also -- especially for concurrency 
on the same computer / cpu ) ..  this is interesting thinking IMHO 
http://clojure.org/state"Message Passing and Actors" under "I chose 
not to use the Erlang-style actor model for same-process state management 
in Clojure for several reasons:"
well he uses quite complex thing in form of persistent (functional 
-imutable (versioned)) data structures... that is probably something 
too complex to focus on now.. but if we have simopler / more primitive 
means of concurency we can probably build stuff on top of it .. and 
even try with some fancy data structures (factor folks were playing 
with them so they are doable)
persistent here doesn't mean it's in a db or a file but it means 
that data structures in clojure are immutable and theoretically when 
you change one you always get a new copy so threads can't break stuff 
to other threads in the middle of process, but the catcth is that 
that copy is not really a copy (which would be simple and *expensive*) 
but same structure reused with some different paths so that it is 
different ( I hope I made any sense ) .. he explained it in some 
video very nicely
Cyphre
9-Apr-2009
[13146x2]
Shadwolf: re R3 richtext; R3 will have the posibility to get all 
useful information at the font glyph level. The richtext module is 
able to give us all that info internally. We only need to design 
interface at the Rebol language level.

BTW even in current R3 version you can get the proper width/height 
 using SIZE-TEXT command. But I believe the final version will offer 
even more.
(Here you can see what can be done with the current R3 in ~5kb script. 
http://www.rebol.cz/~cyphre/stuff/r3-richtext.jpg)
BrianH
9-Apr-2009
[13148x2]
New SYSTEM object: http://www.rebol.net/wiki/R3_Releases- This is 
what I've been waiting for :)
Most of the map! bugs were fixed too :)
Pekr
10-Apr-2009
[13150x2]
It is just yet another version of system object. For me still kind 
of chaotic.
Devbase contains detailed list of stuff which is going to be a 3.0 
release. The link is not supposed to be made webpublic though ....
Ammon
10-Apr-2009
[13152]
Why can't a map! be sorted?
Alan
10-Apr-2009
[13153x2]
seeing that I have Windows 7 running under VmPlayer, I decided to 
try the r3 beta and can report that I does work :) The only problem 
was with the demo/Reactor. When I tried on open an examples file,Windows 
complained about the file type. The same thing does not happen on 
XP Pro ?
I =it
BrianH
10-Apr-2009
[13155x3]
Ammon, map! doesn't even have a order at all, just a temporary display 
order. It's a set of pairs.
Set in the mathematical sense.
The map! type is not a series, it's more like an object with different 
inclusion rules. No order, no position.