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 | Please consider participating in our mailing lists => https://pony.groups.io/g/pony
gokr has quit [Ping timeout: 240 seconds]
Nat has joined #ponylang
Nat is now known as Guest58107
docstein has joined #ponylang
docstein has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
docstein has joined #ponylang
docstein has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest58107 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Nat has joined #ponylang
Nat is now known as Guest37088
Guest37088 has quit [Client Quit]
Nat_ has joined #ponylang
Nat_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
endformationage has quit [Quit: WeeChat 1.9.1]
user10032 has joined #ponylang
bitcrusher has joined #ponylang
gokr has joined #ponylang
user10032 has quit [Remote host closed the connection]
codec1 has joined #ponylang
dipin has quit [Quit: dipin]
dipin has joined #ponylang
codec1 has quit [Read error: Connection reset by peer]
vaninwagen has joined #ponylang
codec1 has joined #ponylang
codec1 has quit [Read error: Connection reset by peer]
codec1 has joined #ponylang
dipin has quit [Quit: dipin]
Sir has joined #ponylang
<Sir> I am looking for some help about the pony Timers, it seems I can't get them to cancel
ShalokShalom_ has joined #ponylang
<Sir> shalokshalom you have logged in twice
ShalokShalom has quit [Ping timeout: 240 seconds]
Sir has left #ponylang [#ponylang]
_andre has joined #ponylang
codec1 has quit [Quit: Leaving.]
samuell has joined #ponylang
codec1 has joined #ponylang
codec2 has joined #ponylang
codec1 has quit [Read error: Connection reset by peer]
<SeanTAllen> Sir: do you have some code that demonstrates the problem you are having?
codec2 has quit [Ping timeout: 240 seconds]
codec1 has joined #ponylang
oraoro has joined #ponylang
oraoto has joined #ponylang
oraoro has quit [Ping timeout: 258 seconds]
SirRolin has joined #ponylang
<SirRolin> yes @SeanTAllen, I do still have troubles with my code
<SirRolin> I have uploaded my code to github: https://gist.github.com/GameEngine1/29434925d694a2692275fcc7f2049d17
<SeanTAllen> That's a nice chunk of code. What is the problem?
<SirRolin> right now, I have tried to make the Actor called Note change some of it's variables as a callback from a function ait's behavior is calling
<SirRolin> and using behaviors as the callback method does compile, but seems to do nothing
<SeanTAllen> not sure how to help with "seems to do nothing"
codec1 has quit [Ping timeout: 268 seconds]
<SeanTAllen> what is the "Note" actor supposed to do?
<SirRolin> it doesn't update the values, and therefore doesn't reconnect, if I call Note it reconnects for both the new Actor and the old making it have 2 Notes running
<SeanTAllen> Is that a Pg equivalent of TCPConnection?
<SirRolin> the note actor is listening to a POSTGRES server
<SeanTAllen> what is "call Note"?
oraoto has quit [Ping timeout: 248 seconds]
<SeanTAllen> do you mean call the "refress" behavior?
<SirRolin> calling refress seems to do nothing, but initialising a new one does reinstianiate both
<SeanTAllen> what are you trying to accomplish?
<SeanTAllen> you want to reconnect when disconnected?
<SirRolin> yes
<SeanTAllen> you seem to have a lot of logic in the timer notify. i'm not sure why.
<SeanTAllen> the only reason to have a reconnect timer is if you get disconnected and then can't immediately reconnect
<SeanTAllen> in which case you want a timer to call a behavior to attempt a new reconnect
<SeanTAllen> the logic would only be calling a behavior on the actor to do the reconnect
<SeanTAllen> nothing else
<SeanTAllen> i'm not sure why you are passing a connection etc
<SeanTAllen> "Note" should manage a single connection
<SeanTAllen> and never get sent a connection
<SeanTAllen> The purpose of the actor is the manage the connection and associated events
<SeanTAllen> you are missing a lot of logic for doing reconnect.
<SirRolin> so you are saying I should make the create call another function within Note, which would connect, and use the timer to call the behavior that would call the same connect function?
<SeanTAllen> there's a lot of other logic in that TCPSink actor but it does have working reconnect logic
<SeanTAllen> no im not saying that
<SeanTAllen> connect for first time and reconnect are different logic
<SeanTAllen> but they are similar
<SeanTAllen> check out how we do it in TCPSink
samuell has quit [Quit: Leaving]
<SirRolin> ok I am checking it out
samuell has joined #ponylang
vaninwagen has quit [Ping timeout: 248 seconds]
gokr has quit [Ping timeout: 248 seconds]
oraoro has joined #ponylang
oraoro has quit [Ping timeout: 240 seconds]
oraoro has joined #ponylang
oraoro has quit [Ping timeout: 246 seconds]
oraoro has joined #ponylang
oraoro has quit [Ping timeout: 264 seconds]
oraoro has joined #ponylang
SirRolin has quit [Ping timeout: 260 seconds]
oraoro has quit [Ping timeout: 240 seconds]
codec1 has joined #ponylang
Nat_ has joined #ponylang
oraoro has joined #ponylang
oraoto has joined #ponylang
oraoro has quit [Ping timeout: 248 seconds]
endformationage has joined #ponylang
Nat_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oraoto has quit [Ping timeout: 260 seconds]
jemc has joined #ponylang
oraoro has joined #ponylang
chamar has joined #ponylang
oraoto has joined #ponylang
oraoto has quit [Remote host closed the connection]
oraoro_ has joined #ponylang
oraoro has quit [Ping timeout: 268 seconds]
oraoro_ has quit [Ping timeout: 240 seconds]
codec1 has quit [Ping timeout: 248 seconds]
codec1 has joined #ponylang
dipin has joined #ponylang
codec1 has quit [Quit: Leaving.]
gokr has joined #ponylang
user10032 has joined #ponylang
ShalokShalom_ has quit [Ping timeout: 240 seconds]
gokr has quit [Ping timeout: 268 seconds]
nisanharamati has joined #ponylang
codec1 has joined #ponylang
Amun_Ra has quit [Quit: WeeChat 1.6]
Amun_Ra has joined #ponylang
gokr has joined #ponylang
vaninwagen has joined #ponylang
gokr has quit [Ping timeout: 248 seconds]
user10032 has quit [Quit: Leaving]
mattmoss has joined #ponylang
mattmoss has quit [Client Quit]
user10032 has joined #ponylang
user10032 has quit [Quit: Leaving]
samuell has quit [Quit: Leaving]
codec1 has quit [Read error: Connection reset by peer]
jemc has quit [Ping timeout: 240 seconds]
vaninwagen has quit [Ping timeout: 255 seconds]
jemc has joined #ponylang
samuell has joined #ponylang