« first day (1387 days earlier)      last day (2393 days later) » 

12:28 AM
Looks like Rebmu needs to shorthand SYS for SYSTEM
Hmmm...is QU or QO better for quote? QU seems like it should not be used because the U never disambiguates something starting with Q.
 
1:07 AM
@HostileFork is Rebmu a r3 or r2 dialect?
 
@HappySpoon It ran under either for a while, but I don't bother maintaining the Rebol2 compatibility anymore
 
1:34 AM
I have been wondering if maybe FOR being CFOR isn't so terrible.
for [x: 10 y: 20] [all [x < 20 y < 40]] [++ x ++ y] [
    stuff
]
If you could somehow contain the side effects of the assignments in the first block, so that x and y would be returned to whatever they were. Basically, the body with STUFF would be treated like a FUNCTION body where local assignments were collected in the parameter blocks.
The unfortunate bias is that the REPEAT format is what you want for the dialect then... when LOOP is the better word for the "loop dialect"
loop x [1 to 10] [print x] seems cognitively better to a new programmer than FOR, and FOR's legacy is kind of tied up with C's FOR...other languages tend to go with EACH or FOREACH in their non-C-for-like-things
 
 
3 hours later…
4:39 AM
0
A: Rock Around the Clock

Dr. RebmuRebmu, 121 chars O{ o'}C{clock}R{rock}S{, }T1 Ndz[igTad11 1[p[{We're going to}r{around the}c{tonight.}]qt]++T]fv[pCB[nSnSnOcSnOc{ rock,}]] Un-"mushed": o: " o'" c: "clock" r: "rock" s: ", " t: 1 n: dz [ig t ad 11 1 [p ["We're going to" r "around the" c "tonight."] qt] ++ t] fv [p cb [n ...

 
 
5 hours later…
9:59 AM
@HostileFork shouldn't we just decide on what functionality we want and then name it, rather then working with a function and deciding how it works?
 
 
1 hour later…
11:08 AM
@HappySpoon The names of things are an interesting topic to me...as are general ideas of design of things being "right". Rebmu's compression is an avenue for seeing things essentialized in a different way, and so I can think about questions like FR vs FO for FOR, and then the role or necessity of a CFOR construct...with CFOR being an ugly word and asking "hm, is FOR a good word in the first place"
If the long timeline of gestation for these languages are offering benefit, it should be the benefit of hindsight.
 
 
2 hours later…
1:39 PM
>> parse "ooo" [some (last "foo")]
 
; Brought to you by: try.rebol.nl
== false
 
>> parse "ooo" [some #"o"]
 
; Brought to you by: try.rebol.nl
== true
 
red> parse "ooo" [some (last "foo")]
 
; Brought to you by: try.rebol.nl
== false
 
1:44 PM
That should either work or be an error, I'd think.
 
@HostileFork I think "combine" is a pretty good idea. I remember I missed ",".join() in Python everytime I need it
 
@ShixinZeng So far it's worked well as a concept, the trick is to define it for types other than string. We even have worked out a compromise on the /WITH where in order to deal with the idea of different delimiters at multiple levels of depth you are able to pass it a function which gets the depth and the string and can decide appropriately. (Default would just return a fixed string and only for depth 1.)
 
@HostileFork You expect that paren! returns value, but that's a wrong assumption. It works exactly as it should.
>> parse "ooo" [some (rule: last "foo") rule]
 
; Brought to you by: try.rebol.nl
== true
 
2:07 PM
It would be nice feature to get rule from executed code, but definitely not by changing current behavior as it would introduce more problems than it would solve (imagine some innocent code like parse "ooo" [some [#"o" (count: count + 1)]] - this would leak integer as parse rule and the rule will break.
 
@rebolek I expected an error. I didn't realize you could break up an incomplete rule like that. :-/ Is that a valuable degree of freedom?
>> parse "ooo" [some]
 
; Brought to you by: try.rebol.nl
== false
 
Some...what?
 
@HostileFork It is to me. I often need to initialize some variables inside the rule and I really appreciate the fact that paren! is transparent and can be put anywhere in the rule.
OTOH, throwing an error when a rule is incomplete, like [some] or [some (code)], makes sense.
 
3:00 PM
red> parse "ooo" [thru]
 
; Brought to you by: try.rebol.nl
== false
 
>> parse "ooo" [thru]
 
; Brought to you by: try.rebol.nl
; rebol.com/r3/docs/errors/script-parse-end.html
    *** ERROR
** Script error: PARSE - unexpected end of rule after: thru
** Where: parse
** Near: parse "ooo" [thru]
 
3:43 PM
 
4:43 PM
@RebolBot
**: function ['a 'b] [print "override?"]
** 1 2
 
; Brought to you by: try.rebol.nl
; rebol.com/r3/docs/errors/script-cannot-use.html
    *** ERROR
** Script error: cannot use power on block! value
** Where: **
** Near: ** 1 2
 
@RebolBot
**: function ['a 'b] [print "override?"]
source **
 
; Brought to you by: try.rebol.nl
**: make function! [['a 'b
    /local
][print "override?"]]
 
That's tricky.
 
 
1 hour later…
5:46 PM
@HappySpoon I saw Carl on Sunday at the Respectech pool party and BBQ. He seems to be doing well.
@HappySpoon Yes, I do. It is bo-rti.
 
@Respectech If you could, of course, please remind him of the importance of delegating the integration duties. I email him every few weeks.
 
@HostileFork I'll remind him next time I see him.
 
6:26 PM
@HostileFork Not sure what's going on there, looks like a TryRebol quirk.
In a local Rebol console:
>> **: function ['a 'b] [print "override?"]
>> ** 1 2
override?
 
@earl If you try it from a console, it doesn't happen because of the implicit termination... it won't couple the infix ** from a separate line. But if you do it in a file, you have the problem.
 
'>> do [print 1 print 2 ** 3 4 print 5 print 6]
1
2
foo
5
6
 
If you've overridden ** and the infix-ness has been taken out, it won't cause a problem... the issue is evaluation while it's still infix before the override.
>> do [print 1 print 2 ** 3 4 print 5 print 6]
 
Yes.
 
; Brought to you by: try.rebol.nl
1
8.0
5
6
 
6:36 PM
I don't know if there's any better answer for what the evaluator should do. But it is a bit confusing.
 
**: function [.. a ..] [.. b ..] ** 1 2
Right, regular infix evaluation.
 
This is the kind of thing a comma/period might be able to fix.
**: function [stuff] [morestuff] .
** 1 2
 
Slightly confusing in this particular instance. But the infix eval hack often is.
 
>> **: function [a b] [print "hello"] #[unset!] ** 1 2
 
; Brought to you by: try.rebol.nl
hello
 
6:40 PM
Period would help in as far as being a last resort to escape to, which could often help in diagnosing arity corner cases.
Of course, if you've already diagnosed the issue, inserting any value works as a fix.
 
Found this by trying to do something interesting with:
0
A: Make an error quine!

Dr. RebmuRebol Interestingly, the error message here parses as symbols/tokens: x ** Script error: x has no value ** Where: do either either either -apply- ** Near: do intern code So despite looking error-like, it could be made a valid Rebol program if you gave all the words meanings. However if you w...

A program that outputs itself as an error, with no other output operations.
 
7:07 PM
@ShixinZeng It appears that in the latest Atronix release, writing to serial works fine, but reading from serial does not. I opened an issue in your github repository. Of course, it would be excellent if this was working soon for my project. :-)
 
8:04 PM
I'm completely familiar and comfortable with Rebol2's TCP networking functionality, but totally a noob when it comes to Rebol3's. Is there a primer somewhere that explains how to write the simplest TCP communication between two Rebol processes?
 
@Respectech see this
 
@rebolek Thanks!
 
@Respectech You're welcome.
 
8:58 PM
@WiseGenius - Sorry for late response. LXX and NT books with roots, morphology and accents
 

« first day (1387 days earlier)      last day (2393 days later) »