00:13
acarrico has quit [Ping timeout: 268 seconds]
01:22
acarrico has joined #ponylang
02:28
endformationage has joined #ponylang
04:09
acarrico has quit [Ping timeout: 240 seconds]
04:11
PrsPrsBK has quit [Quit: PrsPrsBK]
05:00
PrsPrsBK has joined #ponylang
05:58
_whitelogger has joined #ponylang
06:21
endformationage has quit [Quit: WeeChat 2.3]
06:22
Foaly has joined #ponylang
08:04
PrsPrsBK has quit [Quit: PrsPrsBK]
08:26
Foaly has quit [Quit: Now 'mid shadows deep falls blessed sleep.]
11:25
_whitelogger has joined #ponylang
12:05
PrsPrsBK has joined #ponylang
13:24
superherointj has joined #ponylang
15:14
Foaly has joined #ponylang
15:55
endformationage has joined #ponylang
16:14
EEVV has joined #ponylang
16:15
<
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
16:26
Foaly has quit [Quit: Now 'mid shadows deep falls blessed sleep.]
16:44
<
SeanTAllen >
EEVV: that already exists
16:44
<
SeanTAllen >
ifdef debug then whatever end
16:45
<
SeanTAllen >
anytime you build your program using `ponyc --debug` then debug will be defined
16:45
<
EEVV >
SeanTAllen, how to enable debug?
16:46
<
SeanTAllen >
note, there are no globals in Pony. you can do compile time defines however.
16:46
<
SeanTAllen >
you can also define your own:
16:46
<
SeanTAllen >
here's an example from Wallaroo....
16:47
<
SeanTAllen >
note, that for user defined ones, they are in quotes
16:47
<
EEVV >
SeanTAllen so I would do `def "etc"`?
16:47
<
EEVV >
or `ponyc --etc`?
16:48
<
SeanTAllen >
its the --define flag to the compiler EEVV
16:48
<
SeanTAllen >
and if you had defined etc then you would do `ifdef "etc" then`
16:49
<
EEVV >
SeanTAllen, thank you very much!
16:49
<
SeanTAllen >
you're welcome
17:03
theodus has joined #ponylang
17:07
theodus has quit [Client Quit]
17:13
srenatus has joined #ponylang
17:35
superherointj has quit [Ping timeout: 246 seconds]
17:38
a-pugachev has joined #ponylang
17:55
superherointj has joined #ponylang
17:57
a-pugachev has quit [Quit: a-pugachev]
18:06
a-pugachev has joined #ponylang
18:22
<
EEVV >
why does `connected` in TCPListenNotify expect you to give it an `TCPConnectionNotify iso^`? specifically the `^` in `iso^`?
18:23
<
EEVV >
or maybe it is because two actors can't share a class...
18:24
<
EEVV >
I wanted to have an array of `TCPConnectionNotify` in my listener
18:45
<
SeanTAllen >
because that tis the TCPConnectionNotify that will be supplied to the TCPConnection instance that the listener will create.
18:45
<
SeanTAllen >
You need to give it a thing that has no aliases.
18:46
<
SeanTAllen >
two actors can not share an instance of a mutable class, that is correct
18:46
<
SeanTAllen >
you should be creating a new instance of something that implements TCPConnectionNotify for each new connection that will be spawned.
18:59
travis-ci has joined #ponylang
18:59
<
travis-ci >
ponylang/pony-stable#402 (master - 1ccfd30 : Benjamin Pellittieri): The build was broken.
18:59
travis-ci has left #ponylang [#ponylang]
19:00
jemc has joined #ponylang
19:04
EEVV has quit [Ping timeout: 256 seconds]
19:26
superherointj has quit [Ping timeout: 268 seconds]
19:33
travis-ci has joined #ponylang
19:33
<
travis-ci >
ponylang/pony-stable#402 (master - 1ccfd30 : Benjamin Pellittieri): The build was broken.
19:33
travis-ci has left #ponylang [#ponylang]
19:34
travis-ci has joined #ponylang
19:34
<
travis-ci >
ponylang/ponyc#5616 (master - 3e34bf0 : Sean T Allen): The build was broken.
19:34
travis-ci has left #ponylang [#ponylang]
19:37
superherointj has joined #ponylang
19:44
superherointj has quit [Ping timeout: 240 seconds]
20:28
srenatus has quit [Quit: Connection closed for inactivity]
20:38
jemc has quit [Ping timeout: 240 seconds]
21:22
a-pugachev has quit [Quit: a-pugachev]
21:35
travis-ci has joined #ponylang
21:35
<
travis-ci >
ponylang/ponyc#5616 (master - 3e34bf0 : Sean T Allen): The build was broken.
21:35
travis-ci has left #ponylang [#ponylang]
22:46
superherointj has joined #ponylang
23:10
superherointj has quit [Ping timeout: 246 seconds]
23:16
superherointj has joined #ponylang
23:24
superherointj has quit [Ping timeout: 250 seconds]
23:57
acarrico has joined #ponylang