« first day (955 days earlier)      last day (2825 days later) » 

12:13 AM
Is there a REBOL-specific pastebin somewhere?
monad/bind ma :f
That should be monad/bind :ma :f
 
well, most of us use Gists it seems
 
result: copy []
foreach a ma [
  append result f a
]
result
=>
map-each a ma [f a]
And do-monad obviously rather wants to be a dialect :)
 
It isn't a dialect?
@rebolbot do map-each a [1 2 3] [reduce [a add a 1]]
 
12:29 AM
; Brought to you by: tryrebol.esperconsultancy.nl
>> map-each a [1 2 3] [reduce [a add a 1]]
== [[1 2] [2 3] [3 4]]
 
That's not what I want, I want [1 2 2 3 3 4]
I'm using the "feature" of append that appending blocks appends each value individually
 
@RebolBot do
collect [foreach a [1 2 3] [keep reduce [a add a 1]]]
 
; Brought to you by: tryrebol.esperconsultancy.nl
; rebol.com/r3/docs/errors/script-no-value.html
>> collect [foreach a [1 2 3] [emit reduce [a add a 1]]]
*** ERROR
** Script error: emit has no value
** Where: foreach function! collect
** Near: foreach a [1 2 3] [emit reduce [a add a 1]]
 
keep ?
 
; Brought to you by: tryrebol.esperconsultancy.nl
>> collect [foreach a [1 2 3] [keep reduce [a add a 1]]]
== [1 2 2 3 3 4]
 
12:30 AM
Oh, collect has that same "feature" I suppose?
 
KEEP and KEEP/only, yes.
Dialect: yes, but a rather ugly one :)
 
But I think it's elegant >.>
 
(No offense.)
 
@rebolbot
do http://pastie.org/pastes/8035336/text
do-monad list-m [a: [1 2 3] b: [4 5 6]] [a + b]
 
; Brought to you by: tryrebol.esperconsultancy.nl
; rebol.com/r3/docs/errors/syntax-no-header.html
>> do pastie.org/pastes/8035336/text do-monad list-m [a: [1 2 3] b: [4 5 6]] [a + b]
*** ERROR
** syntax error: script is missing a REBOL header: pastie.org/pastes/8035336/text
 
12:32 AM
wat
@rebolbot
do https://gist.github.com/Sgeo/5762049/raw/46718f8fd70c8328dbfa35cc255969f4ff6c9d89/monads.r
do-monad list-m [a: [1 2 3] b: [4 5 6]] [a + b]
 
; Brought to you by: tryrebol.esperconsultancy.nl
; rebol.com/r3/docs/errors/access-no-scheme.html
>> do gist.github.com/Sgeo/5762049/raw/… do-monad list-m [a: [1 2 3] b: [4 5 6]] [a + b]
*** ERROR
** access error: missing port scheme: https
 
Pastie's /text is no real plain text. Use the /download URL.
@RebolBot do
do http://pastie.org/pastes/8035336/download
do-monad list-m [
a: [1 2 3]
b: [4 5 6]
] [
a + b
]
 
; Brought to you by: tryrebol.esperconsultancy.nl
>> do pastie.org/pastes/8035336/download
== RESULT is an object of value:
   bind            function! [ma f [any-function!] /local result]
   return          function! [a]
; Brought to you by: tryrebol.esperconsultancy.nl
>> do pastie.org/pastes/8035336/download do-monad list-m [a: [1 2 3] b: [4 5 6]] [a + b]
== [5 6 7 6 7 8 7 8 9]
 
That pastie version can break for some monads
Actually, the whole thing is probably rather fragile
@RebolBot do do pastie.org/pastes/8035336/download dt [do-monad list-m [a: [1 2 3] b: [4 5 6]] [a + b]]
 
; Brought to you by: tryrebol.esperconsultancy.nl
>> do pastie.org/pastes/8035336/download dt [do-monad list-m [a: [1 2 3] b: [4 5 6]] [a + b]]
== 0:00:00.000321
 
12:38 AM
Very cool, in any case :)
 
ty :)
 
 
6 hours later…
6:25 AM
@johnk I've accepted all your pull requests. What else do I need to do to get this one up to date? Add some new functionality?
 
Why would I get a port returned from read tcp-port ?
I was expecting some data.
I've arranged tcp-port to be an async port.
 
You've returned the port instead of data?
 
6:41 AM
I don't think so. Doesn't read just return the port/data?
 
I guess it depends on protocol.
 
Tcp, my protocol :-)
 
You have your own TCP?
 
I make a tcp:// listener, another process connects and I accept the connection, then I just want to read the data the other process sends me.
In r2 I used copy tcp-port to get the data.
 
I store the data in TCP read and return them at protocol level.
 
6:47 AM
@Brett Sounds like you're not doing it correctly. If you write your own handlers, your need to write your own read actor.
 
So in TCP's `read` I have:
port/spec/redis-data: copy port/data
clear port/data
return true
and then in read actor I return tcp-port/spec/redis-data
 
Hmm, I clearly am missing something.
 
I refer you to my article on writing a network scheme
 
@GrahamChiu Yes read it, will read again. But I'm not writing a scheme just want to read a tcp port in the simplest way.
 
Look at the async handler then .. that's the essentials of reading a tcp port.
 
6:52 AM
@rebolek So I've written a simple awake function, I have to write something else. I'm probably confused over terminology.
@GrahamChiu [Oops, Flaky connection, here.] Ok. Will do.
 
@Brett You can't return value from the awake function. Only logic! to indicate state.
 
@rebolek Yes, that's what I thought.
 
@Brett So you SHOULD write your own scheme on top of it :)
 
My very first example shows the basic simplest thing you have to do!
 
But it's really easy once you get it.
 
6:55 AM
@rebolek :-/
 
@rebolek haha!
 
the "once you get it" is the hardest part...
 
Which reminds me I'm still waiting on fixes for text-list and text-table!! :)
But I've been too busy so can't do anything yet anyway :(
@rebolek are you still doing any synthesizer work on rebol?
 
@GrahamChiu I was looking at the edited google docs version. Now that I look at your original version. I see that your first example, doesn't use read at the script level at all you just grab the data out of android-port/data
Can't you use read at the script level for that - seems nicer :) Hm, or is that my problem... There is a difference between READ inside an awake handler (an event) and READ in your script (an Action) correct?
 
@GrahamChiu I've ported my oscillators and filters to Red/System for maximum speed but haven't chance to do something more with it.
@GrahamChiu Oh.... I'm going to look at it right now :)
 
7:05 AM
Nevermind, I will play with the suggestions you both have given me.
Hopefully I will have this simulated R3 call redirection thing working soonish.
 
@Brett Exactly, READ inside awake handler isn't same as READ action. This is bit confusing part...
 
I know I said "nevermind" but this bugs me... rebol.net/wiki/Ports:_Synchronous_and_Asynchronous_Operations in the "Waiting on a port" says you can do this: data: read port
Have you seen that work?
 
But that's reading your scheme's port, not TCP sub-port.
 
Oh!
Ahem.
Thank you.
 
@Brett that example doesn't work - it may have once, but it doesn't now.
I discussed this with @earl a month ago. We should remove it from the wiki
 
7:18 AM
@GrahamChiu Right. That would be good. Save some other poor soul a waste of time :-)
 
But it's all a part of reorganizing the docs
 
@GrahamChiu Fair enough. Is there a list of these "doc bugs"?
 
@Brett nope
 
Ok, for want of a better place, I'll note this one on my transition page.
Ok the hotspot is trying to drive me out by driving me nuts, I shall comply.. Cya.
 
 
3 hours later…
10:37 AM
Does anyone have access to curecode user management?
I have created a new account IngoHohmann, but did not receive an email.
While searching, I found that there must be an old account iho with an outdated email address.
BTW, this night I was thinking about Rebol3 ports, guess what I found, when I logged into the chat. :-)
 
Only @dockimbel AFAIK
 
Ok, then I'll try to get hold of him.
 
Well his avatar is present here!
 
@DocKimbel Is it true, can you help me with this? http://chat.stackoverflow.com/transcript/message/9946416#9946416
(CureCode account)
This does not necessarily mean, that he is awake - I had a computer logged in all over the weekend, while I was far away.
 
Might be a bot that sends SMS to him when someone addresses him!
 
10:59 AM
@GrahamChiu It is missing your new editing behaviour and the show bot source work, but does include the newer greeting system. I have also added the newer prot-http.r as a temporary fix.
I'll try and get the send-tweet command working, but I am fighting with the module system (and currently it is winning :-)
 
 
3 hours later…
2:17 PM
@ingo, sure, looking at it (BTW, @BrianH has admin access to CC too).
@ingo, your account has been manually validate, you should be able to sign in now.
 
2:34 PM
@GrahamChiu I can see where the problem is (with tab-group), but I don't see what's wrong. If I isolate the code, it works fine. I will probably try to make new version from scratch...
 
2:44 PM
@DocKimbel Yes, I'm in now. Thank you!
 
3:13 PM
posted on June 12, 2013 by IngoHohmann

[Comment] As far as I know, on Linux there are basically two clipboards, a) where you can mark text, and paste it with middle mouse button b) cut/copy -> paste like in windows I'd say, rebol only needs to handle option b), which seems to be consistent with freedesktop.org. http://standards.freedesktop.org/clipboards-spec/clipboards-latest.txt

 
 
3 hours later…
6:05 PM
Well, now that @DocKimbel has his money delivered for the ticket to Recode... we definitely need some good A/V this time around. I am not "fixing it in post" this time!
I just tested my friend's lavalier to see if I liked it, and it's not something I'd prefer to use to shoot a movie or anything. But pretty good for the price. I'm ordering 2x of them: Audio-Technica PRO 88W/T
But I wanted, for @moliad and others, to talk about some conventions I'd like us to follow at the conference... important!
We should look at the slide decks in advance and if you want to correct a fact, correct it beforehand. No interrupting and throwing people off with inaudible comments. Speaker has the floor while speaking.
Having two lavaliers is partially just a backup, as equipment failures happen. But assuming both feeds work, one is for the speaker while the other is for the MC. We may choose not to make the MC the delegate for filtering / ordering written questions from the audience. It is my opinion that letting the MC do the filtering and asking causes less stir and makes the whole thing look more professional, and less like a presentation at a community college.
Both have a different feeling, I don't think one is necessarily worse than the other. It's an aesthetic choice. But when you have a line of questioners coming up with each having a different vocal range then you can't get a consistent mix on the question as people pass the mic around.
So as an easier technical choice: one mic for MC, one mic passed between speakers with level adjustments done in the background while the MC bridges. If non-speakers want camera time to talk about their impressions that's fine...just do it after in a more candid way for B-roll for the odd kinds of people who would click on that after watching the more polished YouTube talks.
Now I have to decide if there's any other crap I need to order. I only have a couple more weeks of having an address to get anything at. :-(
 
 
2 hours later…
8:14 PM
Leaked from Saphirion
"A major breakthru in the multiple-app generation has been made (thanks to Andreas for ELF format hints). Now it is possible to create encapped apps with unique app-id. Such apps can be recognized properly by the Android OS and also accepted on the Google Play market."

This may be available soon."
2
 
@earl What kind of ELF format hints? :-)
Forget technology. Is there a build I can see what the icons look like in context?
 
No need for any SdK or even Java to be installed .. just the Android encapper
 
@HostileFork Agreed. I think the presentations should be done as professionally as possible without being cold. At the beginning, the MC should explain the ground rules.
 
@GrahamChiu Pardon my ignorance, but that's not entirely layman's terms. Can someone describe what this means as a differential from a statement "on any supported Rebol 3 platform (e.g. Haiku), Saphirion has written Rebol software that can pack up Android-targeted scripts into an .APK, and the Google Play store will accept for submission?"
 
Gemol "I now have multitasking and asynchronous networking in World. I need to wrap things up and do some more testing before next alpha. (And testing under all three OS too.)"
@HostileFork eh? I wasn't responding to you .. just continuing my cut and paste!
 
8:24 PM
@GrahamChiu Forget your common carrier excuses. What did Buddha mean when he said: "The mind is everything. What you think you become." Explain in 100 DWORDs or less.
 
@HostileFork How the mind deludes one self
 
@RebolBot
length? "How the mind deludes one self"
 
; Brought to you by: tryrebol.esperconsultancy.nl
>> length? "How the mind deludes one self"
== 29
 
@RebolBot
length? to binary! "How the mind deludes one self"
 
; Brought to you by: tryrebol.esperconsultancy.nl
>> length? to binary! "How the mind deludes one self"
== 29
 
8:28 PM
Rebolbot's icon looks like a box camera now!
Just needs a little button on top!
Is the rebol4 altme web-public a RSS feed?
 
@GrahamChiu My search for some WWCHAR datatype exists failed. Your 29 can, at worst, be 50 WORDS in practice. I think you know WWWCHAR exists and hence you accounted for the null terminator
 
the web public feed is 1 year old .. not updated!
 
@GrahamChiu The mind deludes itself, it's an O with Brackets.
 
Yeah .. it's optical illusion caused by the thin traces
but now I think the bot is a spy cam sitting here :(
rebol's own Prism
BTW, does it cost for people to receive SMS in the USA? Here it costs the sender ...
 
Second time anyone's mentioned Prism to me today, besides never. But I will point out that we have worked to excise resemblance to the CBS "eye"
 
8:37 PM
Well, if you can make those brackets rotate counter to each other .. that would be cool :)
Or, do I have to make multiple images that show the stages of rotation and keep updating the avatar image with them?
Regarding sms, thinking of hooking rebolbot up to Google sms ... so if you reply to someone, they get a sms if they're not in the room
 
@GrahamChiu They should run the chat on the phone. :-/
@@GrahamChiu do you get pinged on this?
 
@HostileFork Nope
but then my sound is turned off!
 
@GrahamChiu do you get pinged on this?
 
nope
 
I see replies directed to me piling up in my SO inbox.
 
8:42 PM
actually sound is being sent to my blue tooth headphones which are a few feet away from me
 
@RebolBot
print {@@HostileFork}
 
; Brought to you by: tryrebol.esperconsultancy.nl
>> print "@@HostileFork"
@@HostileFork
 
I do get pinged
 
@HostileFork by rebolbot print ??
 
Well maybe we could have a convention there, that the RebolBot only reflects @@ messages to SMS. It works either way.
 
8:43 PM
@RebolBot
print {@@earl}
 
@earl What do you mean?
; Brought to you by: tryrebol.esperconsultancy.nl
>> print "@@earl"
@@earl
 
Interesting, that indeed counts as a directed message.
 
@GrahamChiu Yes with my settings, the double at worked. I was just saying that subscribing to pings could leverage the double ping aspects of getting the normal ones but "amp it up" a bit by reflecting to SMS. Just a thought I had. I think things.
 
except a double ping means rebolbot monitoring other than her own messages
she's not a slave!
AFAIK, free google sms only works for the USA
Of course I do have existing Google SMS code
 
9:06 PM
Someone remind me, do we have a simple RSS emitter library somehwere?
I guess @rgchris has several :) ?
Maybe something for R3?
 
for the Altme announce channel ?
 
Yep.
 
I guess the monitoring occurs on the current altme server ...
we'd need a rebolbot account on altme if we did the rss ourselves
unless someone doesn't mind being on 24/7
 
Can just keep an AltME running on a server somewhere.
I think I had it running headless on one of my boxes for quite a while, along with a script that killed & restarted it every hour.
 
@earl well, we do have @johnk's instance now running
@earl why the constant reincarnation?
 
9:14 PM
@GrahamChiu Because the AltME auto-reconnect logic seemed (and still seems) flaky.
 
@earl well, I guess you could monitor the files and if no change ie no posts, then restart?
 
@HostileFork, I need you to go and update your contact info on the ReCode web site, in order to complete invoicing... thanks.
 
Pity we can't post programmatically to Altme ... then we can create a bridge
Hm. Perhaps ask Carl if he would allow a hook for this ?
@moliad He's already sent the money. Is this to claim it as a charitable deduction?
 
yes it would be nice to just have a get/set interface to the Altme Server... I'll ask Carl to bring the Altme source code over to the devcon ;-)
@GrahamChiu pledge and registration are different things ;-)
@HostileFork will be looking over the talks and presentations next week. probably would have a little chat here on monday for that if its ok with you.
one thing which needs investigation and factual testing is for a free or low-price real-time streaming strategy. we need dedicated recording hw, RT recording/encoding SW, live streaming service (like livestream). I should be ok for the HW. unless it really needs an uber compter, but we should be ok with standard HW, by all accounts.
 
9:31 PM
@GrahamChiu yes. just restarting hourly seemed simpler at the time.
 
@moliad we don't need live streaming .. we need 100% reliable recording!
The only point for live streaming is if you expect participation from outside ...
 
9:55 PM
@moliad Many of the talks I attend can not be filmed, or are only filmed for internal company purposes because the speakers are professional speakers earning a living. Do you have something in place to handle the rights over recordings, and subsequent placement on youtube or whereever? You may not know about it but there was a spat about the fixing of doc's talk at a devcon in Holland.
Something in place to prevent misunderstandings would be prudent.
 
10:14 PM
@HostileFork err .. how about a pair of Google glasses ? So, we get a hostile view of the proceedings?
 
 
2 hours later…
11:59 PM
@earl Happy to set it running with a cron restart job if it helps
 

« first day (955 days earlier)      last day (2825 days later) »