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

World: r3wp

[!REBOL3-OLD1]

Steeve
19-Sep-2009
[17722]
Hmm... what the purpose Max ?
xavier
19-Sep-2009
[17723]
changing color on a background ..... i go to check if it possible 
to use it to create psychedelic effects
Sunanda
19-Sep-2009
[17724]
Tuples,experimentally, have been given a Spinal Tap makeover in R3, 
so Max's code gives us a bignum up to 2.9e26
http://www.curecode.org/rebol3/ticket.rsp?id=1110
Pekr
19-Sep-2009
[17725]
xavier - as for psychedelic effect, aren't some mushrooms better? 
:-)
Maxim
20-Sep-2009
[17726x3]
steve, if you want to manage versions in an application, you want 
to increment versions, but there is no way to so in rebol... this 
allows you to increment a tuple so that version after v0.0.9 automatically 
becomes v0.1.0.
if you want to cycle through IP addreses, etc.
make a color cycle from black to white...  there really is many uses. 
  with another function using this one, you can add tuples together.
Henrik
20-Sep-2009
[17729]
My original idea was having something like a tuple where you could 
set a different base per number.
Maxim
20-Sep-2009
[17730]
just being able to set tuples to any base as a whole (up to 64 unsigned 
bits) would be a great feature... something I will always miss for 
graphics, since many professional apps go up to 64 bits per channel
Pekr
20-Sep-2009
[17731]
Submit a proposal to CureCode, or it does not get implemented :-)
Steeve
20-Sep-2009
[17732x2]
About parse enhancement.

What would be the cost to be able to stop a parsing process (ie. 
with a STOP command) and to continue it where it was stopped ?
Huge i guess...
Your attention plz...

I noticed that between r3-a65 and r3-a76 (sorry i didn't test the 
interval).
we lost an hidden feature very useful (to my mind).

>>bin: #{000000}
>>bin/1: 513
>>bin
==#{010200}

Do you see what i mean ?

we could store integers into a binary stream in reversal order (little 
endian) without the need  to use a to-binary conversion (which consumes 
memory by reconstructing a binary and convert into big endian format 
instead).

But in the last alphas, we lost that.hidden feature:
** Script error: value out of range: 513

Any reason for that ?
Henrik
20-Sep-2009
[17734x2]
This was changed in A68, it seems.
http://curecode.org/rebol3/ticket.rsp?id=1057
Steeve
20-Sep-2009
[17736]
Harg... it was marked as a bug by Carl.
Am I the only one seeing that liek a feature not a bug ?
shadwolf
20-Sep-2009
[17737]
one good good point with rebol not being multithreaded able is that 
on the new core i5 750  your rebol VM can be set to work exclusively 
in Turbo boost more ( automatique overclocking)
Pekr
21-Sep-2009
[17738]
Maybe just a stupid idea - but would it be helpful to be able to 
execute some code in context of a module? I mean ... we have in, 
in-dir, in-context ... what about in-module?
Geomol
21-Sep-2009
[17739]
Don't you wanna use BIND for that?
Pekr
21-Sep-2009
[17740x2]
maybe so ...
BrianH: Carl asked me, that if I want some of following implemented/noticed, 
we should put them to the parse document. I gathered them in R3 chat. 
So - I would like to open short discussion about following proposals:
------------------

I would like to ask, what will happen to proposals, which are not 
part of the do

cument? I mean - I do remember following kind of proposals, which 
are discussed
in parent thread:


1) make /all option be the default parse mode. If I want to get really 
reliable
results, I always use /all, to be safe


2) there was some proposal to add /space, or /ignore, to allow easier 
parsing of

 CSV, etc., but other proposal was, that it might be better to let 
 it to the enc
oder/decoder level


3) there was a proposal to allow quoting of "", to make parsing easier.
Maxim
21-Sep-2009
[17742]
/all by default was generally agree on the blogs IIRC.
Pekr
21-Sep-2009
[17743]
Carl calls for more opinions on parse, as we have just this week 
for changes ...
Maxim
21-Sep-2009
[17744]
where?
Steeve
21-Sep-2009
[17745]
Opinions about what ?
Maxim
21-Sep-2009
[17746]
in R3 chat is there a way to read through the new posts sequentially? 
 its very tedious to access new stuff when its all spread around.
Pekr
21-Sep-2009
[17747]
R3 Chat, type "n" for new messages, and "lm" to list the messages. 
It is generally enough to be able to participate. For reply, just 
type the msg number you want to reply to, and type "p" to post to 
the thread, or "r" to reply to such a message ...
Maxim
21-Sep-2009
[17748]
you don't understand... I know that.  when the discussions is spread 
between 10 groups. its VERY tedious to read more than very few messages.


jumping around, hoping you don't miss posts, then listing again... 
over and over.   it would be nice if we could simply skim over the 
list of new posts in order of time.


then if we jump to a post we don't get the context, we just list 
that group... its easier this way.  but going to next mesage would 
still bring us to the "newer" message, not the next message in that 
group.


I'm not saying the current method isn't usefull, I'm just saying 
that another method would make it easier not to miss out on new posts, 
especially when there is a sudden flurry of posts all around the 
place.
Graham
21-Sep-2009
[17749]
It's very inefficient ...
Pekr
21-Sep-2009
[17750x4]
If you read message, pressing enter continuously brings you next 
one in line ... other than that, this is not the topic. And even 
Carl asks, where the best discuss the Parse - blog, AltME, Chat?
But I would say it the other way - either you want to have some say 
into the topic, or not - decide for yourself.
Sometimes it is difficult for me to understand - most devs here are 
gurus being able to handle 100times more complex systems, yet they 
refuse to use Chat :-)
I think that we vote Carl to use blog - at least it is mine and now 
also Max's preference ...
Maxim
21-Sep-2009
[17754x2]
pressing enter brings next message in a single group, until that 
group is at its end.. then you are at a loss in the new messages... 
which one did I see which ones did I miss?
I don't mind the text chat.  its just not really effective at handling 
large volumes of posts.
BrianH
21-Sep-2009
[17756]
Don't worry - a chat GUI is planned.
Pekr
22-Sep-2009
[17757]
ahah, good how we perceive stuff from different perspectives :-)


Carl's parse 'limit proposal:  Disadvantage - Could make some programmers 
lazy. 

BrianH's parse /ignore proposal: Advantage - It might allow programmers 
to be lazy.
BrianH
22-Sep-2009
[17758]
Laziness is a virtue. Creative laziness is the best optimization 
strategy in the world.
Henrik
22-Sep-2009
[17759]
The perspective probably also comes from who knows the implementation 
of PARSE (Carl), and therefore is less forgivable about usage.
BrianH
22-Sep-2009
[17760]
I actually don't know why he said that comment at all. I can see 
the disadvantage of laziness in some cases, but I don't get how that 
particuular proposal can lead to it. Any ideas?
Henrik
22-Sep-2009
[17761]
If used wrong, could it cause a performance issue?
Pekr
22-Sep-2009
[17762x2]
Hmm, so good proposals are down the list ... e.g. of (I would call 
it any-of), do, reverse. Brian - what you think we get for the parse 
update for 3.0? Carl mentioned, that some proposals would require 
some big changes to underlying parse function. I was surprised,e 
.g. 'of being one of them ....
Henrik - in Carl's proposal, imo no performance hit. It simply tells 
parse that new limit for next rule evaluation is XY chars/bytes? 
It just could make you lazy in that manner, that you will not construct 
proper rules, but e.g. knowing that your tel-number is 8 chars long, 
you just limit it, as you can be sure about it.
BrianH
22-Sep-2009
[17764]
DO is down the list because it's scary. The number of people who 
could use it without code injection security problems is small.
Pekr
22-Sep-2009
[17765x2]
I proposed adding 'limit keyword to the secure dialect too. It will 
have to come one day anyway :-)
yes, I am worried about the security too, but I know that you discussed 
it with Gabriele extensively, so I don't want to reopen the discussion 
...
BrianH
22-Sep-2009
[17767x2]
REVERSE rule is really cool, but of relatively limited use compared 
to the rest. And Carl says it is *really hard*.
I worked out how to make it possible to use DO at all without it 
being a security disaster. Possible doesn't mean easy though.
Pekr
22-Sep-2009
[17769x3]
How is 'limit used? I set it once, as like we set spacing in VID 
once, and then I have to reset it? Or does it apply only for one 
following argument? I can imagine using limit with multiple to/thru 
...
Brian - what is your "parse ports" proposal like? I noticed you mentioned 
it in one Chat reply, that you might know, how to parse ports in 
future?
btw - will /case refinement stay?