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
aturley has joined #ponylang
aturley has quit [Ping timeout: 276 seconds]
jemc has joined #ponylang
aturley has joined #ponylang
aturley has quit [Ping timeout: 250 seconds]
aturley has joined #ponylang
aturley has quit [Ping timeout: 276 seconds]
juanjoc has joined #ponylang
SilverKey has joined #ponylang
aturley has joined #ponylang
juanjoc has quit [Ping timeout: 246 seconds]
aturley has quit [Ping timeout: 260 seconds]
jemc has quit [Ping timeout: 276 seconds]
SilverKey has quit [Quit: Halted.]
copy` has quit [Quit: Connection closed for inactivity]
c355e3b has quit [Quit: Connection closed for inactivity]
bb010g has quit [Quit: Connection closed for inactivity]
aturley has joined #ponylang
jemc has joined #ponylang
aturley has quit [Ping timeout: 276 seconds]
trapped has joined #ponylang
jemc has quit [Ping timeout: 250 seconds]
amclain has quit [Quit: Leaving]
trapped has quit [Read error: Connection reset by peer]
aturley has joined #ponylang
aturley has quit [Ping timeout: 252 seconds]
srenatus has joined #ponylang
aturley has joined #ponylang
aturley has quit [Ping timeout: 252 seconds]
aturley has joined #ponylang
aturley has quit [Ping timeout: 244 seconds]
aturley has joined #ponylang
aturley has quit [Ping timeout: 250 seconds]
c355e3b has joined #ponylang
_andre has joined #ponylang
aturley has joined #ponylang
aturley has quit [Ping timeout: 276 seconds]
trapped has joined #ponylang
copy` has joined #ponylang
juanjoc has joined #ponylang
lukecheeseman has joined #ponylang
aturley has joined #ponylang
aturley has quit [Ping timeout: 250 seconds]
trapped_ has joined #ponylang
trapped has quit [Ping timeout: 250 seconds]
aturley has joined #ponylang
jemc has joined #ponylang
<SeanTAllen> jemc: good morning. have you ever seen pony-stable not fetch, as in you run it and nothing appears to happen? I have this happen on my machine and work but not at home.
aturley has quit [Ping timeout: 276 seconds]
<jemc> SeanTAllen: no, but I wouldn't be surprised if there was a bug in it somewhere
<jemc> you could try adding some extra logging (maybe even migrating to use the stdlib logger package, and accepting a verbosity CLI flag)
TwoNotes has joined #ponylang
<TwoNotes> There seems to be a #read cap type. What is that?
<TwoNotes> As in: "JsonObject ref is not a subtype of JsonObject #read: ref is not a subtype of #read"
<SeanTAllen> ref is writable. #read is val etc
<TwoNotes> Ok, so it means "any immutable type"?
<SeanTAllen> if i remember correctly, yes
SilverKey has joined #ponylang
<SeanTAllen> jemc: wonderfully i have it narrowed down to 1 line and cant reproduce outside of pony stable
SilverKey has quit [Quit: Halted.]
SilverKey has joined #ponylang
<SeanTAllen> i think ive stumbled into a weird bug
<TwoNotes> Hmm, right side of an assignment is 'JsonObject ref', left side is 'this->JsonObject ref'. This is inside a 'be' so I can't change the viewpoint.
<SeanTAllen> jemc: bugs galore!
<SeanTAllen> apparently in both pony stable and the compiler. where the compiler should have been complaing previously
aturley has joined #ponylang
<jemc> glad you tracked them down - I'll be interested to see on both counts
aturley has quit [Ping timeout: 276 seconds]
<SeanTAllen> "tracked down" is a bit of a misnomer. sylvanc is trying to work on a minimal case.
amclain has joined #ponylang
lukecheeseman has quit [Ping timeout: 250 seconds]
trapped_ is now known as trapped
ponysaurus has joined #ponylang
aturley has joined #ponylang
aturley has quit [Ping timeout: 252 seconds]
aturley has joined #ponylang
<SeanTAllen> so jemc, the problem is a bug in the compiler previously that once it was fixed, makes it so that the code doesn't work. as intended. perhaps after the sync today or during, we can go over? there's a couple options on how to fix. if you don't care how it gets fixed, i'll just fix it. if you care, we can go over.
aturley has quit [Ping timeout: 268 seconds]
<jemc> sounds good - we can discuss it in the sync call?
<jemc> err.. s/call?/call/
<SeanTAllen> ya
<TwoNotes> Wish: the compiler tells me when it assumes I type I did not write.
<TwoNotes> "a type"
<SeanTAllen> what do you mean TwoNotes ?
<TwoNotes> For example, sometimes it tells me that a "this-> ref" type does not match a "ref" type.
<TwoNotes> It would be nice to know WHY it is thinking "this->" is implied at that point
<TwoNotes> It does a fine job now on things like arguments not matching function parameters
SilverKey has quit [Quit: Halted.]
<SeanTAllen> do you have simple example code that could better help track down the source of frustration?
<jemc> if you didn't use an explicit `this->`, the reason for the viewpoint transform is usually that you are accessing a field
<jemc> the ref cap of a field is always viewpoint-adapted by the ref cap of the object reference you get the field from
<TwoNotes> Yes, I am accessing an actor field from inside a 'be'
<TwoNotes> I do not have a problem modifying a Bool that way, but in this case it is a JsonObject
<jemc> `Bool` is `Bool val`, and as shown in this chart, a `val` field is always `val`, no matter the cap of the origin: http://tutorial.ponylang.org/capabilities/combining-capabilities.html#viewpoint-adaptation
<jemc> as for the JsonObject - it's hard to provide recommendations without looking at a compilable code snippet
<TwoNotes> If it was compilable, I wouldn't be having this problem in the first place.....
SilverKey has joined #ponylang
copy` has quit [Quit: Connection closed for inactivity]
<jemc> I just mean that it's a complete snippet with no types missing, etc
<jemc> enough to show the intent of what you're trying to accomplish, and to verify that the suggestion will make it compile
<TwoNotes> I am working on that. So far it compiles - I change one thing at a time to make it look more like the real code to see when it fails
aturley has joined #ponylang
aturley has quit [Ping timeout: 244 seconds]
SilverKey has quit [Quit: Halted.]
SilverKey has joined #ponylang
marchelzo has joined #ponylang
SilverKey has quit [Quit: Halted.]
marchelzo has left #ponylang ["WeeChat 1.4"]
<SeanTAllen> jemc: sylvanc is doing a compiler change to flag the issue as its evil and silent and a massive source of hidden bugs
<SeanTAllen> there's only one realistic fix at this point, i'll per that
<SeanTAllen> per == PR when sean needs rest
<jemc> cool, thanks
SilverKey has joined #ponylang
<sylvanc> PR #768
<jemc> merged
<sylvanc> thanks!
<jemc> no, thank *you* sir!
<SeanTAllen> i did a PR to you jemc but it appears i ahve conflicts because of spacing and whatnt
<sylvanc> indeed not, thank *you* kind sir
<SeanTAllen> stahp it you two
<SeanTAllen> no longer compiles
copy` has joined #ponylang
<SeanTAllen> error message could be JUST a little better
<jemc> seems like this raises some usability questions about the `json` package
<sylvanc> yeah i think it does
SilverKey has quit [Quit: Halted.]
SilverKey has joined #ponylang
aturley has joined #ponylang
aturley has quit [Ping timeout: 252 seconds]
SilverKey has quit [Read error: Connection reset by peer]
SilverKey has joined #ponylang
<TwoNotes> I have endless troubles getting json to work, mostly due to the combinations of type definitions
<TwoNotes> I get that message SeanTAllen reports a lot
ponysaurus has quit [Ping timeout: 250 seconds]
<TwoNotes> The code in this gist compiles ok: https://gist.github.com/pdtwonotes/12b5fd2f1671c40af7b880fa8ab2114d
juanjoc has quit [Quit: Leaving]
aturley has joined #ponylang
aturley has quit [Ping timeout: 244 seconds]
Matthias247 has joined #ponylang
_andre has quit [Quit: leaving]
aturley has joined #ponylang
aturley has quit [Ping timeout: 246 seconds]
TwoNotes has quit [Quit: Leaving.]
SilverKey has quit [Quit: Halted.]
lukecheeseman has joined #ponylang
lukecheeseman has quit [Client Quit]
SilverKey has joined #ponylang
aturley has joined #ponylang
aturley has quit [Ping timeout: 260 seconds]
trapped has quit [Read error: Connection reset by peer]
srenatus has quit [Quit: Connection closed for inactivity]
Matthias247 has quit [Read error: Connection reset by peer]
nyarum has joined #ponylang
<nyarum> Hello guys :)
<nyarum> I will be speaking about Pony on "nastachku.ru" conference in Russia. And I would say thank you for that lang :)
<nyarum> It was said for sylvanc, SeanTAllen and other contributors, of course
SilverKey has quit [Quit: Halted.]
jemc has quit [Ping timeout: 250 seconds]
SilverKey has joined #ponylang
<doublec> nyarum: great! I hope the talk goes well.
<doublec> What rcap is 'this' in a behaviour?
aturley has joined #ponylang
aturley has quit [Ping timeout: 276 seconds]
SilverKey has quit [Quit: Halted.]
SilverKey has joined #ponylang
<SeanTAllen> nyarum: Awesome.
<nyarum> Then in http://tutorial.ponylang.org/expressions/methods.html there is next text about "Can I overload functions by argument type? No. There is no overloading of methods in Pony, each type may only have a single method of any given name.".
<nyarum> Is it error?