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

World: r3wp

[!REBOL3]

BrianH
12-Apr-2011
[7965]
I wish I could find more humor in this though. SECURE not working 
really does bother me a lot; even though I joke about it getting 
R3 flagged as malware, if it actually happened for that reason I 
couldn't argue against that.
GrahamC
14-Apr-2011
[7966]
Dunno if anyone has the time for a demo contest http://synapse-ehr.com/forums/showthread.php?389-Demo-Competition
Oldes
19-Apr-2011
[7967]
Is there any reason why line breaks are allowed inside tag datatype?
>> load {<a^/>}
== <a
>
onetom
19-Apr-2011
[7968x2]
html specs allow it. whats wrong w that?
especially in xml u might have a lot of attributes.. makes sense 
to break them into lines, doesn't it?
Oldes
19-Apr-2011
[7970]
Ah, ok then.
Janko
19-Apr-2011
[7971]
I am not totally frequent here but I have the sense I haven't seen 
any signal from Carl for a long.. am I wrong or did he really go 
silent?
Henrik
19-Apr-2011
[7972]
he went silent, yes.
Janko
19-Apr-2011
[7973]
anyone has any idea why or when he will return?
Henrik
19-Apr-2011
[7974]
He's probably working on support projects. The last word was that 
it was Linux related. No word on when he will return. He has asked 
us to post the most important bugs in curecode to fix for A112.
Janko
19-Apr-2011
[7975]
aha ok, at least it's a "controlled disapearance"
Henrik
19-Apr-2011
[7976]
It usually is. It does seem disconcerting, but last time it lasted 
longer. The result was unicode support in R3. :-)
Janko
19-Apr-2011
[7977]
I was just afraid he stopped communicating and nobody knows what's 
going on
Henrik
19-Apr-2011
[7978]
he does that often.
Pekr
19-Apr-2011
[7979]
Not sure this one is controlled. This time we are nearing almost 
6-7 months of silence. Carl simply has a day job,not a supporting 
project imo.
Henrik
19-Apr-2011
[7980]
Pekr, that is not correct. Last writing was April 1st, 19 days ago.
Pekr
19-Apr-2011
[7981x2]
Janko - Henrik is not right - Unicode "silence" lasted for 3 months. 
Unicode, Parse - those were controlled disappearances, yes. Not this 
one though.
Henrik - last writing where?
Henrik
19-Apr-2011
[7983]
RM Asset private world.
Ladislav
19-Apr-2011
[7984x2]
I am still not happy with this:

    not none ; == true


, which means, that NOT handles NONE as a logic value. At the same 
time, it is not a logic value for other logic operators/functions:

    none or none

** Script error: or does not allow none! for its value2 argument


, and am tempted to put it to the CureCode. Am I the only one disliking 
this?
To be more precise: I dislike the incompatibility between logic functions, 
not any specific variant of the behaviour.
Geomol
19-Apr-2011
[7986]
I can follow that and agree. But it's probably this way, because 
much code will make more sense? Functions returning none in case 
of no more data or the like. Then you can check against none, and 
if the function return ok, you have not none. Or?
Maxim
19-Apr-2011
[7987]
I agree, when I look at AND help it states input types as:

(logic! integer! char! tuple! binary! bitset! typeset! datatype!)


none! should be added there and be considered 0 when scalar bitwise 
ANDind is done.
Ladislav
19-Apr-2011
[7988]
Hmm, Max, that would not help, in fact, keeping the incompatibility 
anyway.
Geomol
19-Apr-2011
[7989]
>> if none [42]
== none

>> if not none [42]
== 42
Maxim
19-Apr-2011
[7990x2]
actually, I assumed false was being used that way... it seems not... 

so I vote to have none! be == to #[false] in how logic ops treat 
none.
Geomol, the return value is because of IF...  'IF returns none when 
the condition isn't successfull
Geomol
19-Apr-2011
[7992]
yeah, but imagine a function call in stead of none in my code. A 
function, that returns none when failure (like no more data).
Ladislav
19-Apr-2011
[7993]
Geomol: yes, there *is* a reason why the NOT function is comfortable 
being argument-compatible with IF. But, then, other logic operators/functions 
should be compatible as well. The functionality like typeset or typeset 
can well be left for the UNION function.
Geomol
19-Apr-2011
[7994x2]
Yeah, I understand now. Makes sense to use NONE with OR etc. Because 
it could be the return of a function, we test with OR.
I can't figure right now, if it will lead to some problems in some 
cases.
Maxim
19-Apr-2011
[7996]
OR AND etc, already return errors when you try to compare incompatible 
datatypes.  right now it seems very odd to me that #[none] is not 
comparable to logic values.


none is part of the logic! handling in conditionals and loops... 
IMHO it should be in logic ops and funcs too.
Geomol
19-Apr-2011
[7997]
There are many funny things. Also why is there a TRUE? function but 
not a FALSE? function?
Ladislav
19-Apr-2011
[7998]
FALSE? function is NOT
onetom
19-Apr-2011
[7999x2]
any [none none]  is the none! aware version of ORing :)
i don't like infix much anyway
Maxim
19-Apr-2011
[8001]
onetome... but its not an op   :-)
Geomol
19-Apr-2011
[8002]
Yes, FALSE? is NOT, but then why do we have TRUE? There's no need 
for it, right? You can just ask on the operation, you're doing.
Ladislav
19-Apr-2011
[8003]
Yes, but just recently, a user had to choose between:

    any reduce [expr1 expr2]

or 

    (true? expr1) or (true? expr2)

, which are equivalent for him, but not nice.
Maxim
19-Apr-2011
[8004]
if some-func OR other-func [] would be nice to support... though 
I ALWAYS use any/all... its become a habit  :-)
Ladislav
19-Apr-2011
[8005]
he could not use

    any [expr1 expr2]

, since he wanted EXPR2 evaluated.
Geomol
19-Apr-2011
[8006]
Ah, and OR is binary OR, when used on integers, which justify TRUE?. 
:-) Still funny.
Ladislav
19-Apr-2011
[8007]
I guess, that it is more annoying than funny.
Maxim
19-Apr-2011
[8008]
Geomol, TRUE? makes any "truthy" value and acutal #[ true ] value. 
  
which, as Lad just showed, is compatible with logic ops

its the newer name of  FOUND?  ;-)
Geomol
19-Apr-2011
[8009x2]
I also prefer any [ ... ] instead of OR. I almost never us OR. But 
I always use infix operators in math, and I very rarely use ADD, 
SUBTRACT, etc.
Yeah, so TRUE? is kinda ok, but I would expect FALSE? to be there 
too then, to make it complete.
Robert
19-Apr-2011
[8011]
Geomol, in R3 we have: 
>> false? true
** Script error: false? has no value

>> true? true
== true
onetom
19-Apr-2011
[8012]
same here.. for some reason. but i miss the infinite arity of lisp 
for add, max, min
Maxim
19-Apr-2011
[8013]
yeah, we should have block versions of the various math ops as standard 
in the language.  
 similar to any/all for conditionals.

something like:
sum [ 1 2 3 4 5 6 ]
min/max-of [ 1 2 3 4 5 6 ]
etc.
Geomol
19-Apr-2011
[8014]
42 * [1 2 3 4]