jemc changed the topic of #ponylang to: Welcome! Please check out our Code of Conduct => https://github.com/ponylang/ponyc/blob/master/CODE_OF_CONDUCT.md | Public IRC logs are available => http://irclog.whitequark.org/ponylang
jemc has joined #ponylang
unbalancedparen has quit [Ping timeout: 260 seconds]
unbalancedparen has joined #ponylang
trapped has quit [Ping timeout: 272 seconds]
unbalancedparen has quit [Ping timeout: 258 seconds]
aturley has quit [Read error: Connection reset by peer]
aturley has joined #ponylang
<michael_campbell> Are there any pony books in the works?
SilverKey has joined #ponylang
c355e3b has quit [Quit: Connection closed for inactivity]
Perelandric has quit [Ping timeout: 250 seconds]
SilverKey has quit [Quit: Halted.]
michael_campbell has quit [Ping timeout: 244 seconds]
jemc has quit [Ping timeout: 244 seconds]
hhandoko has joined #ponylang
hhandoko has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
7JTAA46C8 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
16WAAEWG5 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jemc has joined #ponylang
jemc has quit [Ping timeout: 276 seconds]
srenatus has joined #ponylang
Applejack_ has joined #ponylang
c355e3b has joined #ponylang
shodan45 has quit [Quit: Konversation terminated!]
fdsa has joined #ponylang
fdsa has quit [Ping timeout: 250 seconds]
Praetonus has joined #ponylang
SilverKey has joined #ponylang
SilverKey has quit [Client Quit]
SilverKey has joined #ponylang
gsteed has joined #ponylang
trapped has joined #ponylang
SilverKey has quit [Quit: Halted.]
SilverKey has joined #ponylang
SilverKey has quit [Client Quit]
SilverKey has joined #ponylang
SilverKey has quit [Client Quit]
SilverKey has joined #ponylang
SilverKey has quit [Quit: Halted.]
Applejac1_ has joined #ponylang
Applejack_ has quit [Ping timeout: 240 seconds]
SilverKey has joined #ponylang
_andre has joined #ponylang
NhanH has joined #ponylang
SilverKey has quit [Quit: Halted.]
emancu_ has quit [Remote host closed the connection]
emancu has joined #ponylang
jemc has joined #ponylang
Applejac1_ has quit [Ping timeout: 272 seconds]
michael_campbell has joined #ponylang
SilverKey has joined #ponylang
btbytes has joined #ponylang
Praetonus has quit [Quit: Leaving]
btbytes has quit [Quit: Textual IRC Client: www.textualapp.com]
btbytes has joined #ponylang
<SeanTAllen> michael_campbell: i have plans to write one but havent started yet
<michael_campbell> <nod>
<michael_campbell> A lot of the Pony in Fintech talk I saw was a bit beyond my current capabilities, but it was a really good talk. I need to digest it in smaller pieces.
Applejack_ has joined #ponylang
btbytes has quit [Quit: Textual IRC Client: www.textualapp.com]
Onemorenickname has joined #ponylang
<Onemorenickname> Hi
<Onemorenickname> I'm new to ponylang, I was wondering about the best way to do things in sequence
<Onemorenickname> Like, I want to call a behaviour on an actor A, and when it's over, to call a behaviour on actor B
<Onemorenickname> Shall I pass a callback to A, or add a reference to B in A ?
<Onemorenickname> I don't like those options, as it implies I have to modify A
<jemc> Onemorenickname: depends on what you're doing, but your options are basically:
<jemc> 1) pass a lambda to A, which will call the lambda when done
<jemc> 2) use a promise and have A fulfill the promise when done
Applejack_ has quit [Ping timeout: 264 seconds]
<Onemorenickname> jemc : I only have those two ?
<jemc> 3) define an interface or trait (for example, Continuable), and pass an object matching that interface to A, and have A call some method exposed by Continuable
<Onemorenickname> (Untill now, it seems 1 & 2 are like a callback, and 3 is having a reference to B in A.)
<jemc> in Pony, the message ordering paradigm is based on causality - if you want B.bar() to follow A.foo(), then A.foo() must send a message that causes B.bar()
SilverKey has quit [Read error: Connection reset by peer]
<Onemorenickname> I see
<Onemorenickname> My problem is I have a Server, and a Client, which are unrelated
<jemc> there's no way outside of A to know that it finished executing A.foo() unless it sends you a message telling you so
<Onemorenickname> In Main, I want to launch the Server, and then the Client
<Onemorenickname> oh, ok
SilverKey has joined #ponylang
<Onemorenickname> I thought there was some signal when a behaviour would have finished its execution
<Onemorenickname> so I can bind two behaviours (in a Lwt_t fashion)
<Onemorenickname> So : the Server has to say explicitely that he has finished creating himself
<Onemorenickname> sounds consistent
<Onemorenickname> thank you :)
<jemc> right
<Onemorenickname> (correct me if I am wrong somewhere)
<jemc> no problem, good luck :)
<Onemorenickname> have a nice afternoon ^^
runehog_ has joined #ponylang
runehog has quit [Ping timeout: 240 seconds]
emancu has quit [Remote host closed the connection]
emancu has joined #ponylang
amclain has joined #ponylang
nyarumes has joined #ponylang
nyarum has quit [Ping timeout: 260 seconds]
_andre has quit [Quit: leaving]
_andre has joined #ponylang
SilverKey has quit [Quit: Halted.]
_andre has quit [Quit: leaving]
SilverKey has joined #ponylang
SilverKey has quit [Client Quit]
unbalancedparen has joined #ponylang
graaff has joined #ponylang
unbalancedparen has quit [Ping timeout: 244 seconds]
Perelandric has joined #ponylang
Matthias247 has joined #ponylang
runehog_ has quit [Remote host closed the connection]
unbalancedparen has joined #ponylang
unbalancedparen has quit [Ping timeout: 276 seconds]
Applejack_ has joined #ponylang
MC_Hamming has joined #ponylang
runehog has joined #ponylang
SilverKey has joined #ponylang
graaff has quit [Quit: Leaving]
mcguire has joined #ponylang
Perelandric has quit [Ping timeout: 250 seconds]
runehog has quit [Read error: Connection reset by peer]
runehog_ has joined #ponylang
runehog has joined #ponylang
runehog_ has quit [Read error: Connection reset by peer]
emancu has quit [Ping timeout: 264 seconds]
MC_Hamming has quit [Ping timeout: 244 seconds]
emancu has joined #ponylang
gsteed has quit [Quit: Leaving]
trapped has quit [Read error: Connection reset by peer]
srenatus has quit [Quit: Connection closed for inactivity]
SilverKey has quit [Quit: Halted.]
SilverKey has joined #ponylang
Matthias247 has quit [Quit: Matthias247]
Matthias247 has joined #ponylang
runehog has quit [Remote host closed the connection]
SilverKey has quit [Quit: Halted.]
Applejack_ has quit [Ping timeout: 250 seconds]
unbalancedparen has joined #ponylang
SilverKey has joined #ponylang
Onemorenickname has quit [Read error: Connection reset by peer]
runehog has joined #ponylang
SilverKey has quit [Client Quit]
Matthias247 has quit [Read error: Connection reset by peer]
Applejack_ has joined #ponylang
unbalancedparen has quit [Ping timeout: 272 seconds]
Applejack_ has quit [Ping timeout: 246 seconds]
trapped has joined #ponylang