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>
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.]