srenatus has quit [Remote host closed the connection]
xllndr[m] has quit [Remote host closed the connection]
lalomartins has quit [Remote host closed the connection]
ehooper[m] has quit [Remote host closed the connection]
M-hrjet has quit [Remote host closed the connection]
M-jimt has quit [Read error: Connection reset by peer]
dtz has quit [Write error: Connection reset by peer]
irx[m] has quit [Read error: Connection reset by peer]
Miikka[m] has quit [Remote host closed the connection]
dipin has quit [Quit: dipin]
Miikka[m] has joined #ponylang
xcombelle has quit [Ping timeout: 276 seconds]
xcombelle has joined #ponylang
Jwashton has joined #ponylang
irx[m] has joined #ponylang
M-hrjet has joined #ponylang
dtz has joined #ponylang
M-jimt has joined #ponylang
srenatus has joined #ponylang
ehooper[m] has joined #ponylang
lalomartins has joined #ponylang
xllndr[m] has joined #ponylang
martinium has joined #ponylang
<martinium>
does anyone have any sample code or do they know of a websocket lib for pony?
<martinium>
websocket client specifically
<doublec>
martinium: I have not seen any
<doublec>
martinium: if you're not in the mood to write one you could probably call a C one via FFI
<martinium>
I am planning likely to write one and share
<martinium>
but am a noob programmer for the most part
<martinium>
basically am seeing what is needed as I am trying to write a ponylang version of an API wrapper
<martinium>
API has both REST and websocket functionality
<martinium>
looks like this will be quite challenging
<martinium>
ugh
<Jwashton>
I'm feeling kind of blind. What's the proper way to gracefully stop a program?
<martinium>
is there no hmac algo in pony stdlib?
<martinium>
I don;t see one
<martinium>
don't*
<Jwashton>
Maybe I should ask that a different way. I understand that a pony program will automagically stop when it becomes "quiescent." So, how can I help a program become quiescent after registering a StdinNotify with env.input/1 ? I'm not seeing a way to de-register the listener, or a way to tell the main actor (the only actor I'm aware of in this case) to give up, or...
<doublec>
jwashton: a program stops when all actors are idle
<doublec>
jwashton: structuring your program such that actors are disposed of and all behaviour calls are handled is a way to go
<doublec>
jwashton: I've not used env.input/StdinNotify so I'm not sure. But the dispose method on objects is usually the "unregister/stop doing things" method.
<Jwashton>
doublec: *facepalm* I was looking at env and StdinNotify, skipping over Stdin itself. Prompted by what you've said Stdin clearly has a dispose behavior that does exactly what I need.
<Jwashton>
doublec: Many thanks.
<doublec>
np, hope it works!
<SeanTAllen>
martinium: someone started a websocket client but i dont believe it went anywhere
<SeanTAllen>
martinium: there's no hmac algo in the standard library
dipin has joined #ponylang
khan has joined #ponylang
Jwashton has quit [Quit: Page closed]
khan has quit [Quit: khan]
khan has joined #ponylang
QshelTier is now known as Bombe
khan has quit [Client Quit]
khan has joined #ponylang
dipin has quit [Quit: dipin]
user10032 has joined #ponylang
ehooper[m] has quit [*.net *.split]
srenatus has quit [*.net *.split]
pcarrier has quit [*.net *.split]
omarkj has quit [*.net *.split]
mrallen1 has quit [*.net *.split]
omarkj_ has joined #ponylang
mrallen1 has joined #ponylang
ehooper[m] has joined #ponylang
pcarrier has joined #ponylang
srenatus has joined #ponylang
samuell has joined #ponylang
khan has quit [Quit: khan]
samuell has quit [Ping timeout: 265 seconds]
samuell has joined #ponylang
user10032 has quit [Quit: Leaving]
samuell has quit [Ping timeout: 248 seconds]
samuell has joined #ponylang
jnyw has joined #ponylang
vaninwagen has joined #ponylang
codec1 has joined #ponylang
vaninwagen has quit [Ping timeout: 260 seconds]
khan has joined #ponylang
jnyw has quit [Quit: WeeChat 2.0.1]
codec1 has quit [Quit: Leaving.]
codec1 has joined #ponylang
alxs has joined #ponylang
Praetonus has joined #ponylang
alxs has quit [Client Quit]
alxs has joined #ponylang
alxs has quit [Client Quit]
alxs has joined #ponylang
dipin has joined #ponylang
dipin has quit [Quit: dipin]
martinium_laptop has joined #ponylang
inoas has joined #ponylang
martinium_laptop has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alxs has quit [Quit: Computer's gone to sleep. ZZZzzz…]
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
codec1 has quit [Ping timeout: 248 seconds]
codec2 has joined #ponylang
alxs has joined #ponylang
alxs has quit [Client Quit]
TheNet has joined #ponylang
jemc has joined #ponylang
codec2 has quit [Read error: Connection reset by peer]
codec1 has joined #ponylang
TheNet has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TheNet has joined #ponylang
alxs has joined #ponylang
alxs has quit [Client Quit]
alxs has joined #ponylang
Jwashton has joined #ponylang
omarkj_ is now known as omarkj
winksaville has quit [Quit: Page closed]
winksaville has joined #ponylang
Praetonus has quit [Read error: Connection reset by peer]
samuell has quit [Remote host closed the connection]
Praetonus has joined #ponylang
dipin has joined #ponylang
Jwashton has quit [Ping timeout: 260 seconds]
<winksaville>
@dipin, yt
inoas has quit [Ping timeout: 268 seconds]
codec1 has quit [Quit: Leaving.]
Jwashton has joined #ponylang
Jwashton has quit [Quit: Page closed]
user10032 has joined #ponylang
dipin has quit [Ping timeout: 265 seconds]
jemc has quit [Ping timeout: 264 seconds]
jemc has joined #ponylang
amclain has joined #ponylang
amclain has quit [Client Quit]
alxs has quit [Quit: Computer's gone to sleep. ZZZzzz…]
<mahmudov>
"This allows us to create systems that leverage multiple computers and helps us to recover if one of them fail"
<mahmudov>
is there any example? for more explain in pony
<jemc>
mahmudov: the distributed pony runtime has been generally designed, but it has not been implemented, and effort is not any contributor's main focus at the moment
<jemc>
so as of right now, distributed applications have to implement their own transport
<jemc>
(applications like wallaroo are doing this, I believe)
<mahmudov>
Any application written in
<mahmudov>
Pony
<mahmudov>
any
<mahmudov>
should scale in a distributed network of runtime process without
<mahmudov>
changes to the code being necessary
<mahmudov>
from pdf.
<mahmudov>
hm so it isnt achieved this goal. isnt it?
<jemc>
correct, that goal has not yet been reached and the design found in that paper has not yet been implemented
<mahmudov>
jemc whats mean own transport?
<mahmudov>
like localhost ?
<jemc>
when I say that applications need to "implement their own transport", I mean that they need to create or leverage some kind of network protocol and application protocol to pass messages between distributed machines, as the curent pony runtime does not do this for them
<mahmudov>
hm.applications can use tcp or udp forpassing messages?
<mahmudov>
or websockets can use
<jemc>
tcp and udp would be most common for doing this
<jemc>
websockets aren't something I would recommend for this purpose, as they don't provide much value on top of TCP for uses like this