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
Robdor has joined #ponylang
samuell has quit [Remote host closed the connection]
mollymorphic has joined #ponylang
mollymorphic has quit [Ping timeout: 268 seconds]
aturley has quit [Quit: aturley]
<SeanTAllen> vaninwagen: i dont believe you can do that
gokr has quit [Ping timeout: 240 seconds]
xcombelle has quit [Ping timeout: 248 seconds]
xcombelle has joined #ponylang
mollymorphic has joined #ponylang
mollymorphic has quit [Ping timeout: 250 seconds]
acarrico has joined #ponylang
dougmacdoug has quit [Quit: dougmacdoug]
acarrico has quit [Ping timeout: 260 seconds]
endformationage has quit [Quit: WeeChat 1.9.1]
guest5081 has joined #ponylang
vaninwagen has joined #ponylang
<vaninwagen> I think so too, SeanTAllen, i think so too - i am spoiled by my scala day job - sugar everywhere
gokr has joined #ponylang
guest5081 has quit [Ping timeout: 240 seconds]
samuell has joined #ponylang
samuell has quit [Remote host closed the connection]
samuell has joined #ponylang
bimawa1 has quit [Read error: Connection reset by peer]
bimawa3 has joined #ponylang
gokr has quit [*.net *.split]
srenatus has quit [*.net *.split]
mrallen1 has quit [*.net *.split]
darach has quit [*.net *.split]
pcarrier has quit [*.net *.split]
ada[m] has quit [Ping timeout: 240 seconds]
irx[m] has quit [Ping timeout: 250 seconds]
dtz has quit [Ping timeout: 255 seconds]
M-hrjet has quit [Ping timeout: 255 seconds]
lalomartins[m] has quit [Ping timeout: 264 seconds]
mindB has quit [Ping timeout: 255 seconds]
mrallen1 has joined #ponylang
pcarrier has joined #ponylang
darach has joined #ponylang
gokr has joined #ponylang
srenatus has joined #ponylang
_andre has joined #ponylang
irx[m] has joined #ponylang
ada[m] has joined #ponylang
dtz has joined #ponylang
mindB has joined #ponylang
M-hrjet has joined #ponylang
lalomartins[m] has joined #ponylang
notsgnik has quit [Ping timeout: 250 seconds]
notsgnik has joined #ponylang
acarrico has joined #ponylang
acarrico has quit [Ping timeout: 246 seconds]
acarrico has joined #ponylang
vaninwagen has quit [Ping timeout: 240 seconds]
Guest73719 has joined #ponylang
Guest73719 has quit [Remote host closed the connection]
aturley has joined #ponylang
_whitelogger has quit [Ping timeout: 250 seconds]
_whitelogger has joined #ponylang
gokr has quit [Ping timeout: 252 seconds]
notsgnik has quit [Ping timeout: 252 seconds]
dougmacdoug has joined #ponylang
mollymorphic has joined #ponylang
mollymorphic has quit [Client Quit]
notsgnik has joined #ponylang
mollymorphic has joined #ponylang
mollymorphic has quit [Ping timeout: 268 seconds]
endformationage has joined #ponylang
guest5081 has joined #ponylang
mollymorphic has joined #ponylang
mollymorphic has quit [Ping timeout: 240 seconds]
mollymorphic has joined #ponylang
mollymorphic has quit [Ping timeout: 250 seconds]
mollymorphic has joined #ponylang
user10032 has joined #ponylang
<notsgnik> hello everyone, I was wondering what happen when i run couple of behaviors and one of them did the job, can I cancel or kill the execution of the rest of the scheduled behaviors?
mollymorphic has quit [Ping timeout: 260 seconds]
mollymorphic has joined #ponylang
<SeanTAllen> no, you can't cancel behaviors. the message as been sent from one actor to another and it will be processed.
guest5081 has quit [Ping timeout: 240 seconds]
nisanharamati has joined #ponylang
<notsgnik> hello SeanTAllen. So, if I run a file search who will run multiple behaviors to find the file. once it found it, the program will still keep searching?
<SeanTAllen> i dont know specifically what you are doing,
<SeanTAllen> behaviors cant be cancelled.
<notsgnik> There should be a way to cancel all behaviors scheduled by an actor. if i run a search over multiple databases and found my entry i should be able to cancel all the other searches, don't i?
<SeanTAllen> the performance costs of that at a runtime level would be very high and its a rather specific use case. you'll need to design something at the application level to handle that.
<SeanTAllen> behaviors are not scheduled. its a message send from one actor to another.
<SeanTAllen> actors are scheduled and they will process messages. messages are not scheduled. messages are not revokeable. if you want/need that, you could design it at the application level, but i think you will find its quite tricky.
<notsgnik> maybe a boolean ref that short circuit the behavior flow if the search is ended
<notsgnik> thanks for the help SeanTAllen :)
jnnnik has quit [Ping timeout: 248 seconds]
mollymorphic has quit [Ping timeout: 250 seconds]
mollymorphic has joined #ponylang
mollymorphic has quit [Ping timeout: 248 seconds]
_andre has quit [Quit: leaving]
vaninwagen has joined #ponylang
mollymorphic has joined #ponylang
mollymorphic has quit [Ping timeout: 268 seconds]
acarrico has quit [Ping timeout: 240 seconds]
acarrico has joined #ponylang
mollymorphic has joined #ponylang
jemc has joined #ponylang
jemc has quit [Ping timeout: 268 seconds]
jemc has joined #ponylang
jemc has quit [Ping timeout: 240 seconds]
olof has joined #ponylang
<olof> I just came across Pony and I really like it, I was sort of thinking of designing my own ideal language and was heading in a very similar direction (linear types to simplify the GC, union types, predicate dispatch), but Pony seems to be a generally much better and more fleshed out version of it
<olof> It's exactly the language I always wished for
vaninwagen has quit [Ping timeout: 268 seconds]
gokr has joined #ponylang
<notsgnik> me to olof
<notsgnik> btw, it is normal that the random function giv the same numbers when i'm compiling and runing on my own computer?
<nisanharamati> @notsgnik You need to use a seed that will change between runs
<nisanharamati> This is because the default values are always the same, and the random number generators are determinsitic for a given seed
user10032 has quit [Quit: Leaving]
mollymorphic has quit [Ping timeout: 268 seconds]
samuell has quit [Remote host closed the connection]
nisanharamati has quit []
mollymorphic has joined #ponylang
<olof> Question, if I write code with higher order functions, like say map, what does the type of a function or lambda input look like? Lambdas are object literals iirc
<SeanTAllen> did you mean how do you indicate that a parameter is a lambda olof?
<olof> Yes, or some general function type
<SeanTAllen> here's an example method from Map in the standard library: `fun ref upsert(key: K, value: V, f: {(V, V): V^} box): V ?`
<SeanTAllen> f is a function that takes 2 values as parameters and returns a V
<SeanTAllen> for example: `m.upsert("test", 4, {(x, y) => x - y })`
<olof> ah ok, so {(input1type,input2type...) :outputtype}
<SeanTAllen> yes
dougmacdoug has quit [Quit: dougmacdoug]