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
jemc has quit [Ping timeout: 244 seconds]
Praetonus has quit [Quit: Leaving]
amclain has quit [Quit: Leaving]
jemc has joined #ponylang
PreetamJinka has joined #ponylang
PreetamJinka has quit [Ping timeout: 250 seconds]
copy` has quit [Quit: Connection closed for inactivity]
jemc has quit [Ping timeout: 276 seconds]
trapped has joined #ponylang
trapped_ has joined #ponylang
trapped has quit [Ping timeout: 260 seconds]
M-hrjet has quit [Ping timeout: 244 seconds]
M-hrjet has joined #ponylang
lispmeister has joined #ponylang
YoYo has joined #ponylang
YoYo has quit [Client Quit]
trapped_ is now known as trapped
_andre has joined #ponylang
juanjoc has joined #ponylang
Praetonus has joined #ponylang
TwoNotes has joined #ponylang
tm-exa has joined #ponylang
<_andre> so, after updating to the latest ponyc from git, my code has been building for ~50 minutes on "Reachability"
<_andre> i guess it's safe to say there's an infinite loop somewhere
<_andre> an ltrace shows stuff like "strcat("ConnectTimeout_", "val")", where ConnectTimeout is primitive, member of a big union
<_andre> it does the same for every union member then goes back to the beginning
aturley has joined #ponylang
jemc has joined #ponylang
<_andre> i start seeing that behavior in commit 72c5727093d, the rewrite of the code generator
<_andre> but simply by removing some primitives, it compiles successfuly, so maybe not really an infinite loop
<_andre> removing primitives from the union, that is
brweber2 has joined #ponylang
<TwoNotes> What does the ocmpiler message "this capture violates capabilities" mean?
jemc has quit [Ping timeout: 252 seconds]
jemc has joined #ponylang
<SeanTAllen> TwoNotes: not sure. can you provide more context?
<SeanTAllen> _andre: do you have any minimal example code we can use to explore the issue?
copy` has joined #ponylang
brweber2 has quit [Quit: Textual IRC Client: www.textualapp.com]
tlockney__ has quit [Ping timeout: 248 seconds]
tlockney__ has joined #ponylang
sirocchj has joined #ponylang
sirocchj has quit [Client Quit]
<SeanTAllen> tutorial is currently down. you can use this in the meantime: https://seantallen.gitbooks.io/pony-tutorial/content/
amclain has joined #ponylang
graaff has joined #ponylang
<_andre> SeanTAllen: sorry for the delay, i managed to build this example: http://pastebin.com/fS3hXYg9
<_andre> apparently compilation time roughly doubles with each new member in the union
<_andre> i'm running with T19 uncommented now but it's going to take a few minutes :)
<_andre> in my actual code the union has 38 members so that's why it seemed to be an infinite loop
tm-exa has quit [Quit: Computer has gone to sleep]
aturley has quit [Ping timeout: 244 seconds]
PreetamJinka has joined #ponylang
<jemc> _andre: can you post a ticket with that repro?
felixonmars_ has joined #ponylang
jeremyheiler has quit [Ping timeout: 268 seconds]
omarkj has quit [Ping timeout: 268 seconds]
puzza007 has quit [Ping timeout: 268 seconds]
jonas-l has quit [Ping timeout: 268 seconds]
felixonmars has quit [Ping timeout: 268 seconds]
mankyKitty has quit [Ping timeout: 268 seconds]
tlockney__ has quit [Ping timeout: 268 seconds]
tlockney___ has joined #ponylang
felixonmars_ is now known as felixonmars
tlockney__ has quit [Changing host]
tlockney__ has joined #ponylang
jonas-l has joined #ponylang
<_andre> jemc: sure
aturley has joined #ponylang
tm-exa has joined #ponylang
aturley has quit [Ping timeout: 250 seconds]
puzza007 has joined #ponylang
omarkj has joined #ponylang
jeremyheiler has joined #ponylang
mankyKitty has joined #ponylang
aturley has joined #ponylang
aturley has quit [Read error: Connection reset by peer]
aturley has joined #ponylang
<SeanTAllen> Thanks _andre
<SeanTAllen> Morning jemc
<jemc> morning :0
<jemc> err.. :)
ashish01 has joined #ponylang
<_andre> compilation times vary a lot depending on the data structure used
<_andre> though the behaviour or more or less doubling with each new union member is always there
ashish01 has quit [Client Quit]
<_andre> though Map is the worst... maybe because it has 2 generic parameters?
lispmeister has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<TwoNotes> Some combinatorial effect? O(n>1)
tm-exa has quit [Quit: Computer has gone to sleep]
tm-exa has joined #ponylang
PreetamJinka has quit [Quit: Page closed]
<SeanTAllen> issue 666 eh _andre
<_andre> i noticed :)
<jemc> SeanTAllen: just because I love being a pest, _andre's bisect points to sylvan's recent big compiler refactor PR that I've suggested should have been left as multiple commits - had it been multple commits, we would have had more bisect resolution :D
<_andre> my original idea for a pony project was going to be a BGP daemon and i'd call it "sixtysix"
<_andre> the daemon executable being "66d" :p
<_andre> and now that issue # ....
tm-exa has quit [Quit: Computer has gone to sleep]
<michael_campbell> I have a friend of a friend who called the `vi` editor "six".
ashish01 has joined #ponylang
ashish01 has quit [Client Quit]
tm-exa has joined #ponylang
tm-exa has quit [Quit: Computer has gone to sleep]
juanjoc has quit [Quit: Leaving]
Matthias247 has joined #ponylang
<TwoNotes> Having trouble with a compiler error message about 'violates capabilities'. It provides no additional "info" lines. https://gist.github.com/pdtwonotes/f88beecda5c6cfc33a0a9fdaf357fae3
<TwoNotes> Oops, there ARE additional Info lines, but now they are marked "Error" insytead of "Info". This is very confusing
<TwoNotes> Gist updated with the full error messages
<jemc> TwoNotes: the error output shows that `JsonObject val` is not part of your union - but `JsonObject tag` is.
<TwoNotes> Yes, that is how I started out. But I need to access the "data" field in it, and you can't access a field of a tag. So how am I supposed to use it?
<jemc> your gist is missing context but I can kind of assume that you're accessing a `ref` field from within a `fun val`
tm-exa has joined #ponylang
<TwoNotes> I will work up a better example.
<TwoNotes> It is actually all within a 'be' function, so it all starts out as a tag context.
graaff has quit [Quit: Leaving]
_andre has quit [Quit: leaving]
tm-exa has quit [Quit: Computer has gone to sleep]
TwoNotes has quit [Quit: Leaving.]
trapped_ has joined #ponylang
trapped has quit [Ping timeout: 244 seconds]
TwoNotes has joined #ponylang
<TwoNotes> Do all parameters to a class constructor that returns a 'val' have to be sendable?
<jemc> yes
<TwoNotes> I am trying to reconstruct a val class, starting only with a JSON string received over a com link.
<TwoNotes> Trouble is, the JSON functions tend to return 'ref' values
<TwoNotes> IN particular, a JsonArray type
trapped_ is now known as trappoed
trappoed is now known as trapped
tm-exa has joined #ponylang
TwoNotes has quit [Quit: Leaving.]
aturley has quit [Ping timeout: 244 seconds]
tm-exa has quit [Quit: Computer has gone to sleep]
aturley has joined #ponylang
aturley has quit [Ping timeout: 244 seconds]
trapped has quit [Read error: Connection reset by peer]
aturley has joined #ponylang
aturley has quit [Ping timeout: 264 seconds]
Praetonus has quit [Quit: Leaving]
aturley has joined #ponylang
Matthias247 has quit [Read error: Connection reset by peer]
aturley has quit [Ping timeout: 260 seconds]