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
waratuman has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<SeanTAllen> 0.12.0 has been released: https://pony.groups.io/g/user/topic/0_12_0_released/4698071?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,4698071
chemist69 has quit [Ping timeout: 240 seconds]
waratuman has joined #ponylang
chemist69 has joined #ponylang
waratuman has quit [Quit: Textual IRC Client: www.textualapp.com]
jemc has quit [Ping timeout: 240 seconds]
jemc has joined #ponylang
gmcabrita has quit [Quit: Connection closed for inactivity]
kulibali has quit [Quit: Going offline, see ya! (www.adiirc.com)]
chemist69 has quit [Ping timeout: 264 seconds]
chemist69 has joined #ponylang
<SeanTAllen> 0.12.1 has been released: https://pony.groups.io/g/user/topic/0_12_1_released/4698318?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,4698318
jemc has quit [Ping timeout: 258 seconds]
jemc has joined #ponylang
inara has quit [Quit: Leaving]
inara has joined #ponylang
amclain has quit [Quit: Leaving]
_whitelogger has joined #ponylang
bodie_ has quit [Ping timeout: 268 seconds]
tokenrove has quit [Ping timeout: 246 seconds]
tokenrove has joined #ponylang
bodie_ has joined #ponylang
chemist69 has quit [Ping timeout: 246 seconds]
chemist69 has joined #ponylang
rosstuck has joined #ponylang
gmcabrita has joined #ponylang
jemc has quit [Ping timeout: 240 seconds]
chemist69 has quit [Ping timeout: 264 seconds]
cousin_luigi has joined #ponylang
<cousin_luigi> Hello
chemist69 has joined #ponylang
rosstuck has left #ponylang [#ponylang]
irx[m] has quit [Read error: Connection reset by peer]
M-hrjet has quit [Remote host closed the connection]
buchanon[m] has quit [Remote host closed the connection]
srenatus[m] has quit [Remote host closed the connection]
prose[m] has quit [Read error: Connection reset by peer]
buchanon[m] has joined #ponylang
cousin_luigi has left #ponylang [#ponylang]
prose[m] has joined #ponylang
srenatus[m] has joined #ponylang
M-hrjet has joined #ponylang
irx[m] has joined #ponylang
chemist69 has quit [Ping timeout: 246 seconds]
chemist69 has joined #ponylang
Matthias247 has joined #ponylang
_andre has joined #ponylang
Matthias247 has quit [Read error: Connection reset by peer]
chemist69 has quit [Ping timeout: 264 seconds]
chemist69 has joined #ponylang
jemc has joined #ponylang
amclain has joined #ponylang
Matthias247 has joined #ponylang
Matthias247 has quit [Read error: Connection reset by peer]
kulibali has joined #ponylang
Xyliton has joined #ponylang
<Xyliton> jemc: sorry for being away yesterday. Do you have any idea how I might be able to fix my problem?
<jemc> yeah, my suggestion was that try to move all logic from the notify class to your actor
jeremyheiler_ has joined #ponylang
<Xyliton> jemc: Thanks <3 I really have to learn how to use that irclog
strmpnk_ has joined #ponylang
<Xyliton> I can give the notify class access to my actor as a tag and have a behaviour on the actor which "receives" the messages, right?
jeremyheiler has quit [Ping timeout: 276 seconds]
j14159 has quit [Ping timeout: 276 seconds]
strmpnk has quit [Ping timeout: 276 seconds]
dom96 has quit [Ping timeout: 276 seconds]
Arjan has quit [Ping timeout: 276 seconds]
jeremyheiler_ is now known as jeremyheiler
Arjan has joined #ponylang
j14159 has joined #ponylang
dom96 has joined #ponylang
strmpnk_ is now known as strmpnk
<jemc> yep, exactly
<Xyliton> is having a separate class in order to off-load the data extraction from the json data a bad design choice? Or is that okay?
<Xyliton> (it also builds the payload I send by just adding the data that changes to the structure itself)
<jemc> yes, if you can abstract logic like that into a helper class (or helper primitive, if stateless), it seems appropriate to do so
<Xyliton> what exactly is a "helper primitive"?
<Xyliton> can I make it even easier to build this stuff, or even have my own "types" for the different payloads I can receive?
<jemc> Xyliton: I just meant making a `primitive` type with some functions in it that help you by abstracting a particular task into that function
<jemc> it's recommended that you use a `primitive` instead of a `class` if you don't have any fields
<jemc> and yeah, it could be a good idea if you wanted to have a class for each payload type, and then use incoming JSON to create the instance of the right class and fill it with data
<Xyliton> Is it possible to check if an object of a "generic" class is a an instance of a subclass of said "super-class"?
<Xyliton> wait, nevermind. I mean interfaces/traits
Matthias247 has joined #ponylang
<jemc> Xyliton: you'll want to use either `match` or `as` for that
<jemc> let me know if you need tutorial links
<jemc> basically, something like `match x | let x': MyTrait => /*...*/ else /*...*/ end`
<Xyliton> How do I write to a file?
<jemc> Xyliton: check out `File` in the `files` package
malthe has quit [Ping timeout: 268 seconds]
malthe has joined #ponylang
Xyliton has quit [Ping timeout: 260 seconds]
_andre has quit [Quit: leaving]
Matthias247 has quit [Read error: Connection reset by peer]
unbalancedparen has joined #ponylang
unbalancedparen has quit [Client Quit]
chemist69 has quit [Ping timeout: 264 seconds]
chemist69 has joined #ponylang