<Jbbouille>
mcguire: Thx for the answer by the way.
rurban has joined #ponylang
rurban has left #ponylang [#ponylang]
trapped has quit [Read error: Connection reset by peer]
<Jbbouille>
For the record I found my issue
<Jbbouille>
I wasn't using the right version of LLVM (3.7.0 instead of 3.7.1).
jemc has quit [Ping timeout: 250 seconds]
srenatus has joined #ponylang
lispmeister has joined #ponylang
rurban has joined #ponylang
juanjoc has joined #ponylang
trapped has joined #ponylang
juanjoc has quit [Quit: Leaving]
juanjoc has joined #ponylang
brweber2 has joined #ponylang
brweber2 has quit [Client Quit]
rurban has quit [Quit: Leaving.]
copy` has joined #ponylang
<SeanTAllen>
3.7.0 is very broken
jemc has joined #ponylang
<Candle>
What is the correct pattern for "I can't set this variable to what I need it to be at constructor time, and therefore I will have to check that it's the type I want every time I use it" (i.e. 'if (field != null) field.bar()')
rurban has joined #ponylang
rurban has left #ponylang [#ponylang]
Praetonus has joined #ponylang
<jemc>
Candle: checking the field type every time is definitely one pattern, for example: `try (field as Foo).bar() else ... end`
<jemc>
another pattern is using an interface as the type of the field, and providing a no-op class that meets the interface
<jemc>
I'll see if I can pull an example like that from my code
<jemc>
I create an interface called `SessionHandleReceived`, and a class called `SessionHandleReceivedNone` which implements that interface, but does nothing when it receives a message
<jemc>
so I can set the field with that as the initial value, and assign a "real" handler to it later `var received: SessionHandleReceived = SessionHandleReceivedNone`
<Candle>
jemc: Thanks. The type in question is a TCPConnection, so creating an interface for it doesn't fill me with enthusisam.
<jemc>
well, if it helps, you only need to make an interface with the methods that you use
SilverKey has joined #ponylang
<Candle>
That's true...
<jemc>
it's up to you to decide whether it is more onerous for you to check the type everywhere or define an interface and dummy type
* Candle
adds a note to that tune.
<ohir>
jemc: is there some talk avaliable to the slides you gave recently (about the herd of ponies as of sept 13)?
<jemc>
ohir: I don't think I gave such a talk - you might be thinking of someone else's talk?
<ohir>
jemc: thx, first I have, second I will in an hour :)
<ohir>
jemc: as for the slides, the MSc paper has more details.
Jbbouille has quit [Ping timeout: 250 seconds]
SilverKey has quit [Quit: Halted.]
SilverKey has joined #ponylang
amclain has joined #ponylang
juanjoc has quit [Ping timeout: 276 seconds]
juanjoc has joined #ponylang
lispmeister has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
SilverKey has quit [Quit: Halted.]
SilverKey has joined #ponylang
SilverKey has quit [Quit: Halted.]
SilverKey has joined #ponylang
srenatus has quit [Quit: Connection closed for inactivity]
Praetonus has quit [Quit: Leaving]
copy` has quit [Quit: Connection closed for inactivity]
|jemc-bo1 has quit [Ping timeout: 276 seconds]
copy` has joined #ponylang
juanjoc has quit [Quit: Leaving]
gsteed has joined #ponylang
SilverKey has quit [Quit: Halted.]
rurban has joined #ponylang
rurban has quit [Client Quit]
Matthias247 has joined #ponylang
Matthias247 has quit [Read error: Connection reset by peer]
SilverKey has joined #ponylang
SilverKey has quit [Client Quit]
<mcguire>
This might be a bit of a personal question, but just out of curiosity: why does the runtime do funny things to the tty? stdin_tty in libponyrt/lang/stdfd.c
Matthias247 has joined #ponylang
aturley has quit [Ping timeout: 252 seconds]
trapped has quit [Read error: Connection reset by peer]
gsteed has quit [Quit: Leaving]
Matthias247 has quit [Read error: Connection reset by peer]