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 participating in our mailing lists => https://pony.groups.io/g/pony
atk has quit [Quit: Well this is unexpected.]
atk has joined #ponylang
<jdhorwitz> Last Week in Pony, September 16, 2018 - https://www.ponylang.org/blog/2018/09/last-week-in-pony---september-16-2018/
SenasOzys has quit [Remote host closed the connection]
SenasOzys has joined #ponylang
SenasOzys has quit [Remote host closed the connection]
SenasOzys has joined #ponylang
SenasOzys has quit [Remote host closed the connection]
SenasOzys has joined #ponylang
<jdhorwitz> What is a needed package currently for the Pony ecosystem? In my path of learning Pony better I was thinking of doing a blog series of creating a needed Pony library. Figure I would document myself fumbling through it
<vaninwagen> jdhorwitz: v5
<vaninwagen> jdhorwitz: oh my god, where to begin? There is so much missing stuff. First and foremost database drivers, postgres being the first, but there are others too, cassandra, foundationdb, ...
<vaninwagen> But this sounds like a bery big bunch of work... So, something smaller might be a sax xml parser (i know not the coolest shit), or a wrapper around a common c lib, support for the crypto stuff from libssl, or something like a process pool/actor pool
<vaninwagen> I keep em coming as they come to mind...
<jdhorwitz> Great , thanks! Yeah, for this first one, I'm looking for something smaller, not too difficult
endformationage has quit [Ping timeout: 244 seconds]
SenasOzys has quit [Remote host closed the connection]
SenasOzys has joined #ponylang
SenasOzys has quit [Remote host closed the connection]
SenasOzys has joined #ponylang
SenasOzys has quit [Remote host closed the connection]
SenasOzys has joined #ponylang
o_pax has joined #ponylang
o_pax has quit [Quit: o_pax]
<vaninwagen> What about an elasticsearch client? This mostly involves http and json
<vaninwagen> It also speaks some binary protocol, but that is very tied to java last time i looked at it
dx_ob has quit [Read error: Connection reset by peer]
o_pax has joined #ponylang
Foaly has joined #ponylang
SenasOzys has quit [Ping timeout: 240 seconds]
o_pax_ has joined #ponylang
o_pax has quit [Ping timeout: 252 seconds]
o_pax_ is now known as o_pax
<jdhorwitz> That's an interesting idea!
Foaly has quit [Quit: Now 'mid shadows deep falls blessed sleep.]
acarrico has joined #ponylang
SenasOzys has joined #ponylang
SenasOzys has quit [Remote host closed the connection]
SenasOzys has joined #ponylang
endformationage has joined #ponylang
brainproxy has quit [Quit: WeeChat 2.2]
ExtraCrispy has quit [Remote host closed the connection]
SenasOzys has quit [Ping timeout: 240 seconds]
<endformationage> vaninwagen: I think I've found another interesting bit about the generics issue I've struggled with.
<endformationage> As a starting point, here's the playground: https://playground.ponylang.org/?gist=82c701ea64a307b0cf5bd5c223278e87
<endformationage> As is, the generated error is the same where we left off.
<endformationage> First thing I tried was to use type parameter names in `_MappedEvents` that were different from those used by the Events trait.
<vaninwagen> carry on. Will there be a happy end?
<endformationage> ... and I got a different error message. This can be seen by swapping out the version of `_MappedEvents` in the code as seen here:
<endformationage> This made me wonder if there's some kind of issue with sharing type param names between the types.
<vaninwagen> Definitely possible
<endformationage> The second thing I did was swap out the trait for an interface, and looked at the results with both versions of the `_MappedEvents` type.
<vaninwagen> I didnt find the time to look into it more deeply yet :(
<endformationage> I was surprised to see different errors.
<endformationage> I suppose I'm not sure whether I should expect traits and interfaces to be interchangable, or at least in the context.
<endformationage> In any case the different error messages suggest different paths being taken in the compiler?
<vaninwagen> Exactly, the quest is to find which it is
<endformationage> Swapping `Events` to an interface with the version of `_MappedEvents` that uses unique type param names is interesting because it also mentions the 'no lower bound' from the original error, and also raises issue of 'not implementing its provides list' (which looks like it does).
<vaninwagen> This needs some time, a debugging session and lots of ast printing
<endformationage> .. but perhaps not in the sort of recursive genericly typed nature of the example
<endformationage> As I'm simply not knowledgable or experienced enough in Pony's compiler (or compilers / type systems in general), this is really all I can help with. :/
<vaninwagen> That is already a lot!
<vaninwagen> I cant do nothing right now on my phone, but let me dig a little more tomorrow
<endformationage> I'd feel alot more confident if I was told the general principle of my intentions as shown my the example should be possible in Pony.
<endformationage> Again I really appreaciate you taking the time to look at this.
<vaninwagen> From my understanding your examples are very valid and exhibit a compiler bug
<endformationage> vaninwagen: Do you think I should file this in a separate issue?
<vaninwagen> Yep
<endformationage> OK, will do.
<vaninwagen> Thank you :)
Foaly has joined #ponylang
SenasOzys has joined #ponylang
Foaly has quit [Quit: Now 'mid shadows deep falls blessed sleep.]