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
endformationage has quit [Quit: WeeChat 1.9.1]
Shorttail has joined #ponylang
<Shorttail> Is there a way of getting a stacktrace?
endformationage has joined #ponylang
<vaninwagen> you can get one by running your program in a debugger (gdb or lldb)
<vaninwagen> The closest you get to that in pure pony is by using __loc, which will give you the source location where you place it
endformationage has quit [Quit: WeeChat 1.9.1]
Shorttail has quit [Quit: Page closed]
inoas has joined #ponylang
PrsPrsBK has quit [Quit: PrsPrsBK]
ichimaru has joined #ponylang
<ichimaru> test
<ichimaru> I can speak \o/
<ichimaru> This might be a question not specific to pony, I hope it's ok to ask here. When a TCPConnection no longer works because of a network partition, will the `closed` function be called?
inoas has quit [Ping timeout: 240 seconds]
ExtraCrispy has joined #ponylang
endformationage has joined #ponylang
<SeanTAllen> ichimaru: it will be called when the OS closes the socket. so, there isn't a "yes/no" answer to that question. its a "it depends".
<ichimaru> SeanTAllen: so, I can't depend on it and should use a heartbeat and timeout instead?
<SeanTAllen> you definitely can not depend on a socket being closed as a way to assure liveness
<SeanTAllen> at minimum, you need a heartbeat system.
<SeanTAllen> what you are really talking about is failure detection. thats a deep and complicated subject, most folks stop at heartbeats being "good enough" for their particular problem.
<ichimaru> Ok, Thanks a lot!
inoas has joined #ponylang
jmiven has quit [Quit: co'o]
jmiven has joined #ponylang
inoas has quit [Quit: inoas]
inoas has joined #ponylang
inoas has quit [Quit: inoas]
inoas has joined #ponylang
inoas has quit [Quit: inoas]
PrsPrsBK has joined #ponylang