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 joining our Slack server => https://www.ponylang.io/get-slack-invite
acarrico has quit [Ping timeout: 268 seconds]
acarrico has joined #ponylang
endformationage has joined #ponylang
acarrico has quit [Ping timeout: 240 seconds]
PrsPrsBK has quit [Quit: PrsPrsBK]
PrsPrsBK has joined #ponylang
_whitelogger has joined #ponylang
endformationage has quit [Quit: WeeChat 2.3]
Foaly has joined #ponylang
PrsPrsBK has quit [Quit: PrsPrsBK]
Foaly has quit [Quit: Now 'mid shadows deep falls blessed sleep.]
_whitelogger has joined #ponylang
PrsPrsBK has joined #ponylang
superherointj has joined #ponylang
Foaly has joined #ponylang
endformationage has joined #ponylang
EEVV has joined #ponylang
<EEVV> hey what would the closest thing be to static methods? I want to make a global variable called "debug" and based on this variable I print extra stuff to the screen. I made a debug primitive but then apparently I can't do `let` in the outer most scope... so I changed it to a class but I'm still struggling
Foaly has quit [Quit: Now 'mid shadows deep falls blessed sleep.]
<SeanTAllen> EEVV: that already exists
<SeanTAllen> ifdef debug then whatever end
<SeanTAllen> anytime you build your program using `ponyc --debug` then debug will be defined
<EEVV> SeanTAllen, how to enable debug?
<EEVV> o
<EEVV> ok thanks
<SeanTAllen> note, there are no globals in Pony. you can do compile time defines however.
<SeanTAllen> you can also define your own:
<SeanTAllen> here's an example from Wallaroo....
<SeanTAllen> note, that for user defined ones, they are in quotes
<EEVV> SeanTAllen so I would do `def "etc"`?
<EEVV> or `ponyc --etc`?
<SeanTAllen> its the --define flag to the compiler EEVV
<SeanTAllen> and if you had defined etc then you would do `ifdef "etc" then`
<SeanTAllen> you might also be interested in https://stdlib.ponylang.org/debug--index/
<EEVV> SeanTAllen, thank you very much!
<SeanTAllen> you're welcome
theodus has joined #ponylang
<theodus> Last Week in Pony - January 27, 2019 - https://www.ponylang.io/blog/2019/01/last-week-in-pony---january-27-2019/
theodus has quit [Client Quit]
srenatus has joined #ponylang
superherointj has quit [Ping timeout: 246 seconds]
a-pugachev has joined #ponylang
superherointj has joined #ponylang
a-pugachev has quit [Quit: a-pugachev]
a-pugachev has joined #ponylang
<EEVV> why does `connected` in TCPListenNotify expect you to give it an `TCPConnectionNotify iso^`? specifically the `^` in `iso^`?
<EEVV> or maybe it is because two actors can't share a class...
<EEVV> I wanted to have an array of `TCPConnectionNotify` in my listener
<SeanTAllen> because that tis the TCPConnectionNotify that will be supplied to the TCPConnection instance that the listener will create.
<SeanTAllen> You need to give it a thing that has no aliases.
<SeanTAllen> two actors can not share an instance of a mutable class, that is correct
<SeanTAllen> you should be creating a new instance of something that implements TCPConnectionNotify for each new connection that will be spawned.
travis-ci has joined #ponylang
<travis-ci> ponylang/pony-stable#402 (master - 1ccfd30 : Benjamin Pellittieri): The build was broken.
travis-ci has left #ponylang [#ponylang]
jemc has joined #ponylang
EEVV has quit [Ping timeout: 256 seconds]
superherointj has quit [Ping timeout: 268 seconds]
travis-ci has joined #ponylang
<travis-ci> ponylang/pony-stable#402 (master - 1ccfd30 : Benjamin Pellittieri): The build was broken.
travis-ci has left #ponylang [#ponylang]
travis-ci has joined #ponylang
<travis-ci> ponylang/ponyc#5616 (master - 3e34bf0 : Sean T Allen): The build was broken.
travis-ci has left #ponylang [#ponylang]
superherointj has joined #ponylang
superherointj has quit [Ping timeout: 240 seconds]
srenatus has quit [Quit: Connection closed for inactivity]
jemc has quit [Ping timeout: 240 seconds]
a-pugachev has quit [Quit: a-pugachev]
travis-ci has joined #ponylang
<travis-ci> ponylang/ponyc#5616 (master - 3e34bf0 : Sean T Allen): The build was broken.
travis-ci has left #ponylang [#ponylang]
superherointj has joined #ponylang
superherointj has quit [Ping timeout: 246 seconds]
superherointj has joined #ponylang
superherointj has quit [Ping timeout: 250 seconds]
acarrico has joined #ponylang